Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#ticket_add_file_upload').uploadify({
- {/literal}
- 'uploader' : '{$baseUrl}scripts/uploadify.swf',
- 'script' : '{$baseUrl}product/ticket_upload/productid/{$iProductID}/',
- 'cancelImg' : '{$baseUrl}images/cancel.png',
- 'auto' : false,
- 'folder' : '/uploads'
- onAllComplete : function() { $("form[name='ticket_add']").submit(); }
- {literal}
- });
- $('form[name='ticket_add'] submit').click(function() {
- $('#ticket_add_file_upload').uploadifyUpload(); // Start the upload
- return false;
- });
Add Comment
Please, Sign In to add comment