mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +00:00
- remove content from modal box when opening
This commit is contained in:
parent
7a03403c96
commit
b17bf99805
|
@ -1,12 +1,17 @@
|
||||||
|
|
||||||
$(document).ready( function() {
|
$(document).ready( function() {
|
||||||
$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });
|
$('body').on('hidden', '.modal', function () {
|
||||||
$('#expirationdate, #fromdate, #todate')
|
$(this).removeData('modal');
|
||||||
.datepicker()
|
|
||||||
.on('changeDate', function(ev){
|
|
||||||
$('#expirationdate, #fromdate, #todate').datepicker('hide');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });
|
||||||
|
|
||||||
|
$('#expirationdate, #fromdate, #todate')
|
||||||
|
.datepicker()
|
||||||
|
.on('changeDate', function(ev){
|
||||||
|
$('#expirationdate, #fromdate, #todate').datepicker('hide');
|
||||||
|
});
|
||||||
|
|
||||||
$(".chzn-select").chosen();
|
$(".chzn-select").chosen();
|
||||||
$(".chzn-select-deselect").chosen({allow_single_deselect:true});
|
$(".chzn-select-deselect").chosen({allow_single_deselect:true});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user