Skip to content
Browse files

additional init code for bug #711013

  • Loading branch information...
1 parent 38ed1cd commit 4af1052decb28c47c087853224cd5ac657a81eb7 Dan Walkowski committed Dec 20, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 icongrid/icongrid.js
View
2 icongrid/icongrid.js
@@ -78,6 +78,7 @@ function IconGrid(name, hostElement, datasource, layout) {
//the saved state (grid arrangement, mostly) for the dashboard
this.dashboardState = {};
+ this.dashboardState.pages = [[]];
//scratch copies of pages used to move the icons around without altering the original config,
// allowing 'cancel', which happens when you drag though a page to somewhere else, and we have to reset it
@@ -1030,6 +1031,7 @@ IconGrid.prototype = {
self.dashcontainer.append(self.dashboard);
self.dashcontainer.append(self.pageindicator);
+ self.updatePageIndicator();
self.dashcontainer.mousedown(function (evt) {

0 comments on commit 4af1052

Please sign in to comment.
Something went wrong with that request. Please try again.