Ignore:
Timestamp:
Oct 22, 2012, 4:47:26 PM (12 years ago)
Author:
cljosse
Message:

[extensions] Autosize fix compatibility with 2.4, add option: SelMax / Autosize (default setting)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/js/conflit.js

    r17308 r18716  
    55var OS, version;
    66//==============================================================================
    7 browser = detect_browser();
     7var browser = detect_browser();
    88image_w = 600;
    99image_h = 400
     10var pamoorama_detect = true;
    1011
    1112function detect_browser() {
     
    491492    $.ajax = function (args) {
    492493      return jQuery.ajax(args);
    493     }
     494    }   
    494495}
    495496   
     
    506507
    507508    if (typeof (Parent) == "undefined")
    508         Parent = "#theImage";
     509      Parent = "#theImage";
     510        if(typeof jQuery(Parent).infos=="function"){
    509511  info_image = jQuery(Parent).infos();
    510512  p0 = jQuery(Parent);
     
    525527      } catch (e) {
    526528      }
    527 
     529    }
    528530    }
    529531  }
     
    537539    //=================================================
    538540    if (typeof jQuery.fn.infos != "function") {
    539       jQuery = myjQuery;
     541     try{ jQuery = myjQuery;
    540542      $ = my$;
     543      }catch(e){
     544
     545      }
    541546    }
    542547  });
Note: See TracChangeset for help on using the changeset viewer.