X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2FjqModal%2FjqModal.js;h=db1dd9e7c2fe360475f7f0e25f3b1ca1675be4c5;hb=3aafad05b5d47f52069151771d8353f645249626;hp=db318ffb87b2c0409b19c862cf91577e33d49c9c;hpb=87e65e6c1cc64bfb2d73b6914ed2ef136861dd42;p=kivitendo-erp.git diff --git a/js/jqModal/jqModal.js b/js/jqModal/jqModal.js index db318ffb8..db1dd9e7c 100644 --- a/js/jqModal/jqModal.js +++ b/js/jqModal/jqModal.js @@ -34,6 +34,7 @@ $.fn.jqmAddClose=function(e){return hs(this,e,'jqmHide');}; $.fn.jqmAddTrigger=function(e){return hs(this,e,'jqmShow');}; $.fn.jqmShow=function(t){return this.each(function(){t=t||window.event;$.jqm.open(this._jqm,t);});}; $.fn.jqmHide=function(t){return this.each(function(){t=t||window.event;$.jqm.close(this._jqm,t)});}; +$.fn.jqmClose=function(t){return this.each(function(){t=t||window.event;$.jqm.close(this._jqm,t);this.remove();});}; $.jqm = { hash:{},