Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've looked at the source and I notice that <code>uploadifySettings()</code> has an optional, undocumented (it does not appear <a href="http://www.uploadify.com/documentation/" rel="nofollow noreferrer">here</a>) third parameter. Apparently if you set it to <code>true</code> as in <code>$("#"+elementId).uploadifySettings("scriptData",{"token": "pleasework"}, true);</code> it will clobber the existing settings for <code>scriptData</code> and perhaps that will have some impact.</p> <p>But based on the source I can't exactly tell what impact a change in settings necessarily has.</p> <pre><code> uploadifySettings:function(settingName, settingValue, resetObject) { var returnValue = false; jQuery(this).each(function() { if (settingName == 'scriptData' &amp;&amp; settingValue != null) { if (resetObject) { var scriptData = settingValue; } else { var scriptData = jQuery.extend(settings.scriptData, settingValue); } var scriptDataString = ''; for (var name in scriptData) { scriptDataString += '&amp;' + name + '=' + escape(scriptData[name]); } settingValue = scriptDataString.substr(1); } returnValue = document.getElementById(jQuery(this).attr('id') + 'Uploader').updateSettings(settingName, settingValue); }); </code></pre> <p>That code is from version <code>2.1.0</code>.</p> <p>Is there a way to potentially decide on the settings before initialization? </p> <p>Also, I found this existing SO question: <a href="https://stackoverflow.com/questions/2037605/uploadify-updatesettings-problems">Uploadify updateSettings problems</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload