Changeset 7956
- Timestamp:
- Nov 30, 2010, 9:25:26 PM (14 years ago)
- Location:
- extensions/rv_menutree/trunk
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_menutree/trunk/changelog.txt
r7814 r7956 1 2.1.c 2 - javascript async stuff 3 - lv_lv language description 4 1 5 2.1.b 2 6 - themes can define their own rv_menutree_categories.tpl -
extensions/rv_menutree/trunk/js/rvtree.js
r6608 r7956 136 136 ul.style.paddingLeft = isRoot ? 0 : "8px"; 137 137 } 138 } 138 }; 139 139 140 if ( typeof rvTreeAutoConvert != 'undefined') 141 { 142 RVTree.convertTree( rvTreeAutoConvert ); 143 } 140 (function() { 141 if (typeof _rvTreeAutoQueue != "undefined" && _rvTreeAutoQueue.length) 142 { 143 for (var i=0; i<_rvTreeAutoQueue.length; i++) 144 RVTree.convertTree(_rvTreeAutoQueue[i]); 145 } 146 _rvTreeAutoQueue = { 147 push: function(elt) { 148 RVTree.convertTree(elt); 149 } 150 } 151 })(); -
extensions/rv_menutree/trunk/template/rv_menutree_categories.tpl
r7845 r7956 54 54 {'</li></ul>'|@str_repeat:$ref_level} 55 55 <script type="text/javascript"> 56 rvTreeAutoConvert = document.getElementById("theCategoryMenu"); 56 var _rvTreeAutoQueue = _rvTreeAutoQueue || []; 57 _rvTreeAutoQueue.push( document.getElementById("theCategoryMenu") ); 57 58 (function () {ldelim} 58 var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '{$ROOT_URL}plugins/{$RVMT_BASE_NAME}/js/rvtree -min.js';59 var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '{$ROOT_URL}plugins/{$RVMT_BASE_NAME}/js/rvtree.min.js'; 59 60 var s0 = document.getElementsByTagName('script')[0]; s0.parentNode.insertBefore(s, s0); 60 61 })();
Note: See TracChangeset
for help on using the changeset viewer.