Pārlūkot izejas kodu

No Ticket. Setting HtmlTable's setStylesOnStartup flag to false to greatly improve performance.

Aaron Newton 15 gadi atpakaļ
vecāks
revīzija
b7f8293024
1 mainītis faili ar 9 papildinājumiem un 1 dzēšanām
  1. 9 1
      desktop/core/static/js/Source/CCS/CCS.js

+ 9 - 1
desktop/core/static/js/Source/CCS/CCS.js

@@ -18,7 +18,7 @@
 description: CCS Configuration Options
 provides: [CCS]
 requires: [clientcide/StickyWin, Widgets/ART.Popup, Core/Element.Event, Core/Request.HTML,
-  More/Spinner, Core/Selectors, More/URI]
+  More/Spinner, Core/Selectors, More/URI, More/HtmlTable.Resize]
 script: CCS.js
 
 ...
@@ -31,6 +31,7 @@ Request.implement({
 		noCache: true
 	}
 });
+
 Spinner.implement({
 	options: {
 		fxOptions: {
@@ -119,6 +120,13 @@ StickyWin.Stacker.implement({
 StickyWin.WM.setOptions({
 	zIndexBase: 10003
 });
+HtmlTable.implement({
+
+	options: {
+		setStylesOnStartup: false
+	}
+
+});
 
 //allows for selectors like $$('[data-foo-bar]'); TODO: move this up at some point. Note that it'll be in Moo 1.3
 // Selectors.RegExps.combined = (/\.([\w-]+)|\[([\w-]+)(?:([!*^$~|]?=)(["']?)([^\4]*?)\4)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g);