cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject [17/50] [abbrv] git commit: updated refs/heads/ldapplugin to 7bc705e
Date Wed, 17 Jul 2013 17:35:16 GMT
Fix typos in JS which break IE < 9


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1b4900a8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1b4900a8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1b4900a8

Branch: refs/heads/ldapplugin
Commit: 1b4900a8a97f463c33af956f5e861b5dbccc2baf
Parents: af921c4
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Jul 16 14:39:28 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Jul 16 14:39:38 2013 -0700

----------------------------------------------------------------------
 ui/scripts/lbStickyPolicy.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1b4900a8/ui/scripts/lbStickyPolicy.js
----------------------------------------------------------------------
diff --git a/ui/scripts/lbStickyPolicy.js b/ui/scripts/lbStickyPolicy.js
index 02ebabe..c0e2bfa 100644
--- a/ui/scripts/lbStickyPolicy.js
+++ b/ui/scripts/lbStickyPolicy.js
@@ -259,7 +259,7 @@
           }
         });
       },
-      delete: function(stickyRuleID, complete, error) {
+      'delete': function(stickyRuleID, complete, error) {
         $.ajax({
           url: createURL('deleteLBStickinessPolicy'),
           data: {
@@ -296,10 +296,10 @@
         };
         
         // Delete existing rule
-        if (data.methodname != 'None') {
+        if (data.methodname !== 'None') {
           addStickyPolicy();
         } else {
-          cloudStack.lbStickyPolicy.actions.delete(stickyRuleID, complete, error);
+          cloudStack.lbStickyPolicy.actions['delete'](stickyRuleID, complete, error);
         }
       }
     }


Mime
View raw message