From 7b1b080232c356dbb550864e1f9773fd961a0a8a Mon Sep 17 00:00:00 2001 From: Al Johri Date: Fri, 21 Feb 2014 04:28:39 -0600 Subject: [PATCH] Changed model to TemplateStaticState.modelName --- src/main/webapp/js/lib/angular-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/js/lib/angular-table.js b/src/main/webapp/js/lib/angular-table.js index 6f45f62..8b1dd98 100644 --- a/src/main/webapp/js/lib/angular-table.js +++ b/src/main/webapp/js/lib/angular-table.js @@ -170,7 +170,7 @@ angular.module('angular-table', []) }, true); // check for scrollbars and adjust the header table width, and scrolling table height as needed when the number of bound rows changes - scope.$watch('model', function(newValue, oldValue) { + scope.$watch(TemplateStaticState.modelName, function(newValue, oldValue) { // flip the booleans to trigger the watches ResizeHeightEvent.fireTrigger = !ResizeHeightEvent.fireTrigger; ResizeWidthEvent.fireTrigger = !ResizeWidthEvent.fireTrigger;