fix img stuff

This commit is contained in:
James Campos 2011-04-17 23:13:16 -07:00
parent 0ad8064e72
commit e175a399a5
2 changed files with 4 additions and 4 deletions

View File

@ -1973,7 +1973,7 @@
} }
} }
$.bind($('select', controls), 'change', $.cb.value); $.bind($('select', controls), 'change', $.cb.value);
$.bind($('select', controls), 'change', imageTypeChange); $.bind($('select', controls), 'change', imgExpand.cb.typeChange);
$.bind($('input', controls), 'click', imgExpand.cb.all); $.bind($('input', controls), 'click', imgExpand.cb.all);
delform = $('form[name=delform]'); delform = $('form[name=delform]');
return $.prepend(delform, controls); return $.prepend(delform, controls);
@ -2144,7 +2144,7 @@
$.bind(recaptcha, 'keydown', recaptcha.listener); $.bind(recaptcha, 'keydown', recaptcha.listener);
$.bind($('form[name=post]'), 'submit', qr.cb.submit); $.bind($('form[name=post]'), 'submit', qr.cb.submit);
if ($.config('Image Expansion')) { if ($.config('Image Expansion')) {
imgExpansion.init(); imgExpand.init();
} }
if ($.config('Image Auto-Gif')) { if ($.config('Image Auto-Gif')) {
imgGif.init(); imgGif.init();

View File

@ -1498,7 +1498,7 @@ imgExpand =
option.selected = true option.selected = true
break break
$.bind $('select', controls), 'change', $.cb.value $.bind $('select', controls), 'change', $.cb.value
$.bind $('select', controls), 'change', imageTypeChange $.bind $('select', controls), 'change', imgExpand.cb.typeChange
$.bind $('input', controls), 'click', imgExpand.cb.all $.bind $('input', controls), 'click', imgExpand.cb.all
delform = $ 'form[name=delform]' delform = $ 'form[name=delform]'
@ -1674,7 +1674,7 @@ $.bind $('form[name=post]'), 'submit', qr.cb.submit
#major features #major features
if $.config 'Image Expansion' if $.config 'Image Expansion'
imgExpansion.init() imgExpand.init()
if $.config 'Image Auto-Gif' if $.config 'Image Auto-Gif'
imgGif.init() imgGif.init()