Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

jquery.uploadify (Source).js fileUploadSettings
  • 225 fileUploadSettings:function(settingName, settingValue) {
    226 $(this).each(function() {
    227 document.getElementById($(this).attr('id') + 'Uploader').updateSettings(settingName,settingV
    alue);
    228 });
    229 },


    Should be:

    225 fileUploadSettings:function(settingName, settingValue) {
    226 $(this).each(function() {
    227 document.getElementById($(this).attr('id') + 'Uploader').updateSettings(settingName,settingV
    alue);
    228 });
    +++ return (this);
    229 },


    Otherwise you cannot chain, as in:

    $('#crap').fileUploadSettings('scriptData', '...').fileUploadStart();

    etc.

    And it's jQuery standard to chain.
  • Good point