Fix select field overlay issue

This commit is contained in:
champsupertramp
2016-06-09 22:03:14 +08:00
parent 6afd3dbd45
commit 3dbbdaf987
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -176,16 +176,6 @@ jQuery(document).ready(function() {
return false;
});
if ( jQuery.ui && jQuery.ui.dialog && jQuery.ui.dialog.prototype._allowInteraction ) {
var ui_dialog_interaction = jQuery.ui.dialog.prototype._allowInteraction;
jQuery.ui.dialog.prototype._allowInteraction = function(e) {
if ( jQuery(e.target).closest('.select2-dropdown').length ) return true;
return ui_dialog_interaction.apply(this, arguments);
};
}
jQuery('.um-s1,.um-s2').css({'display':'block'});
jQuery(".um-s1").select2({
+1 -1
View File
File diff suppressed because one or more lines are too long