Ignore:
Timestamp:
Oct 4, 2008, 3:54:54 PM (16 years ago)
Author:
patdenice
Message:
  • 883: category status wasn't saved.
  • 870, 877, 878: growfield plugins send wrong value when empty textarea. Now use another plugin for autogrow.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/include/autosize.inc.tpl

    r2641 r2653  
    11{* $Id$ *}
    22{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
    3 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
    4 {known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
     3{known_script id="jquery.autogrow" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.autogrow-textarea.js"}
    54
    65{* Auto size and auto grow textarea *}
     
    87<script type="text/javascript">
    98  jQuery().ready(function(){
     9    jQuery('textarea').css('overflow-y', 'hidden');
    1010    // Auto size and auto grow for all text area
    11     jQuery("TEXTAREA").growfield({
    12       animate: false
    13     });
     11    jQuery('textarea').autogrow();
    1412  });
    1513</script>
Note: See TracChangeset for help on using the changeset viewer.