summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wordpress-mobile-pack/admin/js/UI.Modules/Settings/WMP_ALLOW_TRACKING.js')
-rw-r--r--plugins/wordpress-mobile-pack/admin/js/UI.Modules/Settings/WMP_ALLOW_TRACKING.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/wordpress-mobile-pack/admin/js/UI.Modules/Settings/WMP_ALLOW_TRACKING.js b/plugins/wordpress-mobile-pack/admin/js/UI.Modules/Settings/WMP_ALLOW_TRACKING.js
index 812628d7..3b89cb86 100644
--- a/plugins/wordpress-mobile-pack/admin/js/UI.Modules/Settings/WMP_ALLOW_TRACKING.js
+++ b/plugins/wordpress-mobile-pack/admin/js/UI.Modules/Settings/WMP_ALLOW_TRACKING.js
@@ -55,9 +55,9 @@ function WMP_ALLOW_TRACKING(){
// set the value on the dummy text field that will always be visible in the post data
if (this.checked) {
- jQuery("#"+JSObject.type+"_box",JSObject.DOMDoc).val("1");
+ jQuery("#wmp_option_allow_tracking",JSObject.DOMDoc).val("1");
} else {
- jQuery("#"+JSObject.type+"_box",JSObject.DOMDoc).val("0");
+ jQuery("#wmp_option_allow_tracking",JSObject.DOMDoc).val("0");
}
});
@@ -157,10 +157,10 @@ function WMP_ALLOW_TRACKING(){
/* */
/*****************************************************************************************************/
this.completeUploadingData = function(response){
-
+
jQuery("#"+JSObject.form.id,JSObject.DOMDoc).unbind("submit");
jQuery("#"+JSObject.form.id,JSObject.DOMDoc).bind("submit",function(){return false;});
-
+
// remove preloader
WMPJSInterface.Preloader.remove(100);