
uicore.uicore-jquery.min.js Maven / Gradle / Ivy
(function(a){a.fn.disable=function(){return a(this).each(function(){a(this).prop("disabled",!0)})};a.fn.enable=function(){return a(this).each(function(){a(this).prop("disabled",!1)})};a.fn.setDisabled=function(c){return a(this).each(function(){a(this).prop("disabled",c)})};a.fn.check=function(){return a(this).each(function(){a(this).prop("checked",!0)})};a.fn.uncheck=function(){return a(this).each(function(){a(this).prop("checked",!1)})};a.fn.setChecked=function(c){return a(this).each(function(){a(this).prop("checked",
c)})};a.fn.preventDoubleSubmission=function(){a(this).on("submit",function(c){var b=a(this);!0===b.data("submitted")?c.preventDefault():(b.data("submitted",!0),a(":reset,:submit",b).disable())});return this};a.fn.resetSubmitted=function(){var c=a(this);c.data("submitted",!1);a(":reset,:submit",c).enable();return this}})(jQuery);
$(document).ajaxError(function(a,c,b,d){window.ajaxSetupErrorShown||(window.ajaxSetupErrorShown=!0,alert("AJAX error invoking "+b.url+"\nStatus="+c.statusText+" ("+c.status+")"+(d?"\nError thrown="+d:"")))});jQuery.cachedScript=function(a,c,b){console.log&&console.log("Dynamically loading Script "+a);c=jQuery.extend(c||{},{dataType:"script",cache:!0,url:a,success:b});return jQuery.ajax(c)};jQuery.scriptCache=[];
jQuery.cachedScriptWithJSCache=function(a,c,b){0<=jQuery.inArray(a,jQuery.scriptCache)?b():jQuery.cachedScript(a,c,function(){b();jQuery.scriptCache.push(a)})};jQuery.escapeRegExp=function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")};function jqphClass(){}
jqphClass.prototype={loadJSInOrder:function(a,c){function b(){d
© 2015 - 2025 Weber Informatics LLC | Privacy Policy