diff options
author | Silvio <silvio@socioambiental.org> | 2013-07-29 16:57:07 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2013-07-29 16:57:07 -0300 |
commit | 4da80d04185a06a8d1fb04ad6b9abfaecbbb6017 (patch) | |
tree | 2888ef541952aca387b62110d5710096dbde6d9e | |
parent | 256b7f489e24ba84b66638ba048b1b4fa4aeea33 (diff) | |
download | gmap_arcgis_js-4da80d04185a06a8d1fb04ad6b9abfaecbbb6017.tar.gz gmap_arcgis_js-4da80d04185a06a8d1fb04ad6b9abfaecbbb6017.tar.bz2 |
Back to the simpler blockUI/unblockUI
-rw-r--r-- | gmap_arcgis.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js index 018e470..9303c8f 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -32,18 +32,12 @@ function gmapArcgis(config) { // UI unblocker wrapper unblockUI: function() { - if (this.config.ui == undefined || this.config.ui == 'blocked') { - jQuery.unblockUI(); - this.config.ui = 'unblocked'; - } + jQuery.unblockUI(); }, // UI blocker wrapper blockUI: function(params) { - if (this.config.ui == undefined || this.config.ui == 'unblocked') { - jQuery.blockUI(params); - this.config.ui = 'blocked'; - } + this.config.ui = 'blocked'; }, // Block the UI and show an overlay |