Author: ornicar2
Date: 2010-02-11 03:06:15 +0100 (Thu, 11 Feb 2010)
New Revision: 27878
Modified:
plugins/dmMediaUploadifyerPlugin/trunk/web/js/sfWidgetFormDmUploadify.js
Log:
[Diem][dmMediaUploadifyerPlugin]
- closed dialog, blocked interface and reloaded the page when upload completes
Modified:
plugins/dmMediaUploadifyerPlugin/trunk/web/js/sfWidgetFormDmUploadify.js
===================================================================
--- plugins/dmMediaUploadifyerPlugin/trunk/web/js/sfWidgetFormDmUploadify.js
2010-02-11 02:01:31 UTC (rev 27877)
+++ plugins/dmMediaUploadifyerPlugin/trunk/web/js/sfWidgetFormDmUploadify.js
2010-02-11 02:06:15 UTC (rev 27878)
@@ -35,8 +35,9 @@
'auto' : false,
'multi' : true,
'onComplete' : function(event, queueID, fileObj, response, data) {
- //console.log(response);
- //$uploadified.parent().after(response);
+ $uploadified.closest('div.ui-dialog-content').dialog('close');
+ $('#dm_admin_content').block();
+ window.location.reload();
},
'onError' : function(event, queueID, fileObj, errorObj) {
//console.log(errorObj.info);
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.