Changeset 7903
- Timestamp:
- Nov 28, 2010, 12:59:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/cl_conflit/js/conflit.js
r7900 r7903 16 16 //=================================================== 17 17 var detect = navigator.userAgent.toLowerCase(); 18 var OS, version;18 var OS, cl_version; 19 19 //============================================================================== 20 20 browser = detect_browser(); … … 39 39 40 40 else if (checkIt('msie')) { mybrowser.msie = true; lbrowser = "msie"; } 41 else if (checkIt('compatible')) { mybrowser.NetscapeNavigator = true; lmybrowser.browser = "NetscapeNavigator"; version = detect.charAt(8); }41 else if (checkIt('compatible')) { mybrowser.NetscapeNavigator = true; lmybrowser.browser = "NetscapeNavigator"; cl_version = detect.charAt(8); } 42 42 else lbrowser = "An unknown browser"; 43 if (! version)version = detect.charAt(place + thestring.length);43 if (!cl_version) cl_version = detect.charAt(place + thestring.length); 44 44 if (!OS) { 45 45 if (checkIt('linux')) OS = "Linux"; … … 179 179 180 180 info_image = jQuery(Parent).infos(); 181 if (info_image.height==0) {182 Parent = "#theImageBox";183 }184 185 186 181 p0 = jQuery(Parent); 187 188 if (p0.length > 0) { 189 190 182 if (p0.length > 0) { 191 183 //====================================================== 192 184 if (theme.match("gally", "gi")) … … 194 186 if (typeof (currentTab) == "undefined") inittoolbar(); 195 187 else initializeImageMode("resize"); 196 };188 197 189 198 190 if (info_image.position != "static") { … … 201 193 jQuery(Parent).css({ position: "static" } ); 202 194 jQuery("#imageToolBar").css({ position: "relative", top: "0px" }); 195 }; 203 196 } 204 197 } … … 283 276 284 277 /* 285 * mootools.js version: "1.11"278 * mootools.js cl_version: "1.11" 286 279 * pamoorama0.3.js 287 280 * 288 281 * main.js (google maps) 289 * prototype.js(mootool version: "1.62")282 * prototype.js(mootool cl_version: "1.62") 290 283 * windows.js 291 284 * … … 584 577 function save_framework(page) { 585 578 try { 586 Conflit = { version: Version, name: cl_plugin };579 Conflit = { version: cl_version, name: cl_plugin }; 587 580 } catch (e) { 588 581
Note: See TracChangeset
for help on using the changeset viewer.