You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ch...@apache.org on 2013/07/17 19:35:16 UTC

[17/50] [abbrv] git commit: updated refs/heads/ldapplugin to 7bc705e

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 <br...@citrix.com>
Authored: Tue Jul 16 14:39:28 2013 -0700
Committer: Brian Federle <br...@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);
         }
       }
     }