cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/4.2 to 221a053
Date Tue, 16 Jul 2013 21:40:16 GMT
Updated Branches:
  refs/heads/4.2 5889717d9 -> 221a05386


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/221a0538
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/221a0538
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/221a0538

Branch: refs/heads/4.2
Commit: 221a053861c2acc383f6c45f3e372318d3c4a090
Parents: 5889717
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:40:10 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/221a0538/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