skos_browser/commit

ADD autoLoad property

authorMichiel Hildebrand
Tue Nov 27 15:32:07 2012 +0100
committerMichiel Hildebrand
Tue Nov 27 15:32:07 2012 +0100
commite1a07904241535d1eb2fea58c320cdd9837fd4f8
treef8fe29f2f788e0a6dc95114b6a13f94ecfc1ea66
parentdbfb5d98244e88b1f98fbd38286e1ca9278dd137
Diff style: patch stat
diff --git a/web/js/columnbrowser.js b/web/js/columnbrowser.js
index 5a4216a..ea5efbf 100644
--- a/web/js/columnbrowser.js
+++ b/web/js/columnbrowser.js
@@ -50,6 +50,9 @@ YUI.add('columnbrowser', function(Y) {
 		},
 		selected: {
 			value: null
+		},
+		autoLoad: {
+			value: true
 		}
 	};
 
@@ -110,7 +113,7 @@ YUI.add('columnbrowser', function(Y) {
 				// update the active column
 				this._updateContentSize();
 				//columns[activeIndex].list._node.scrollIntoView();
-			} else {
+			} else if(this.get("autoLoad")) {
 				this._activeIndex = 0;
 				this._updateColumn(0);
 			}