Fixed #42 - Related modal does not dismiss on popup response.
parent
cf76fd412e
commit
3f7b1e54e9
|
|
@ -1,6 +1,11 @@
|
||||||
(function($) {
|
if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
||||||
|
{
|
||||||
|
(function($) {
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
$(function() {
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('.cancel-link').click(function(e) {
|
$('.cancel-link').click(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var parentWindow = window.parent;
|
var parentWindow = window.parent;
|
||||||
|
|
@ -12,5 +17,8 @@
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
})(django.jQuery);
|
|
||||||
|
})(django.jQuery);
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* global opener */
|
(function() {
|
||||||
(function($) {
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function getModalWindowData()
|
function getModalWindowData()
|
||||||
|
|
@ -48,5 +48,5 @@
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
})(django.jQuery);
|
|
||||||
|
|
||||||
|
})();
|
||||||
|
|
@ -130,4 +130,3 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
||||||
|
|
||||||
})(django.jQuery);
|
})(django.jQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue