Changeset 7912 for extensions/Autosize/js
- Timestamp:
- Nov 28, 2010, 4:36:17 PM (13 years ago)
- Location:
- extensions/Autosize/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/conflit.js
r7899 r7912 184 184 185 185 info_image = jQuery(Parent).infos(); 186 if (info_image.height==0) {187 Parent = "#theImageBox";188 }189 190 191 186 p0 = jQuery(Parent); 192 193 if (p0.length > 0) { 194 195 187 if (p0.length > 0) { 188 196 189 //====================================================== 197 190 if (theme.match("gally", "gi")) … … 199 192 if (typeof (currentTab) == "undefined") inittoolbar(); 200 193 else initializeImageMode("resize"); 201 };194 202 195 203 196 if (info_image.position != "static") { … … 206 199 jQuery(Parent).css({ position: "static" } ); 207 200 jQuery("#imageToolBar").css({ position: "relative", top: "0px" }); 201 }; 208 202 } 209 203 } … … 429 423 } 430 424 //window_1290934905697_top 431 if (fn.match(RegExp("window_ |WindowUtilities", "gi"))) {425 if (fn.match(RegExp("window_..|WindowUtilities", "gi"))) { 432 426 states.push('rv_gmaps'); 433 427 break; … … 583 577 function save_framework(page) { 584 578 try { 585 Conflit = { version: Version, name: cl_plugin };579 Conflit = { version: cl_version, name: cl_plugin }; 586 580 } catch (e) { 587 581 -
extensions/Autosize/js/jquery.dimensions.js
r7899 r7912 31 31 var torl = name == 'Height' ? 'Top' : 'Left', 32 32 borr = name == 'Height' ? 'Bottom' : 'Right'; 33 options = jQuery.extend({ margin: false }, 34 options || {}); 33 options = options || false; 34 options = jQuery.extend({ margin: options } ); 35 35 36 var val = this.is(':visible') ? this[0]['offset' + name] : 36 37 num(this, … … 39 40 num(this, 'border' + borr + 'Width') + 40 41 num(this, 'padding' + torl) + 41 num(this, 'padding' + borr); 42 num(this, 'padding' + borr) 43 44 ; 42 45 return val + (options.margin ? (num(this, 'margin' + torl) + num(this, 'margin' + borr)) : 0); 43 46 };
Note: See TracChangeset
for help on using the changeset viewer.