Author: sevein
Date: Fri Dec 4 15:11:25 2009
New Revision: 4100
Log:
Add informationObjectId as a javascript var for YUI uploader -> uploadAction.
Modified:
trunk/apps/qubit/modules/digitalobject/templates/uploadFormSuccess.php
Modified: trunk/apps/qubit/modules/digitalobject/templates/uploadFormSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/templates/uploadFormSuccess.php
Fri Dec 4 15:05:23 2009 (r4099)
+++ trunk/apps/qubit/modules/digitalobject/templates/uploadFormSuccess.php
Fri Dec 4 15:11:25 2009 (r4100)
@@ -57,6 +57,7 @@
var maxUploadSize = "'.$maxUploadSize.'";
var uploadTmpDir = "'.$uploadTmpDir.'";
var uploadResponsePath = "'.$uploadResponsePath.'";
+ var informationObjectId = "'.$informationObject->id.'";
var i18nUploading = "'.__('Uploading...').'";
var i18nInfoObjectTitle = "'.__('%1% title', array('%1%' =>
sfConfig::get('app_ui_label_informationobject'))).'";
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" 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/qubit-commits?hl=en.