Fix typos in JS which break IE < 9

This commit is contained in:
Brian Federle 2013-07-16 14:39:28 -07:00
parent af921c4fee
commit 1b4900a8a9
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}
}