add js defn of that = this
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/08b9a737 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/08b9a737 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/08b9a737 Branch: refs/heads/0.6.0 Commit: 08b9a737d8cc7fda893abb5ee87a36cd46fe31d2 Parents: 6e47ea2 Author: Alex Heneveld <[email protected]> Authored: Tue Sep 24 14:39:30 2013 +0100 Committer: Alex Heneveld <[email protected]> Committed: Tue Sep 24 14:40:06 2013 +0100 ---------------------------------------------------------------------- usage/jsgui/src/main/webapp/assets/js/view/entity-policies.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/08b9a737/usage/jsgui/src/main/webapp/assets/js/view/entity-policies.js ---------------------------------------------------------------------- diff --git a/usage/jsgui/src/main/webapp/assets/js/view/entity-policies.js b/usage/jsgui/src/main/webapp/assets/js/view/entity-policies.js index 4b8d880..02c248d 100644 --- a/usage/jsgui/src/main/webapp/assets/js/view/entity-policies.js +++ b/usage/jsgui/src/main/webapp/assets/js/view/entity-policies.js @@ -153,6 +153,7 @@ define([ }, refreshPolicyConfig:function() { + var that = this; if (that.viewIsClosed) return; var $table = that.$('#policy-config-table').dataTable(), $rows = that.$("tr.policy-config-row");
