Author: david
Date: Tue Dec 8 17:00:43 2009
New Revision: 4123
Log:
Cosmetic change, rename variables.
Modified:
trunk/web/js/dialog.js
Modified: trunk/web/js/dialog.js
==============================================================================
--- trunk/web/js/dialog.js Tue Dec 8 16:55:43 2009 (r4122)
+++ trunk/web/js/dialog.js Tue Dec 8 17:00:43 2009 (r4123)
@@ -1,16 +1,16 @@
// $Id$
-function submitDialog(formData, dialog, i)
+function submitDialog(dialogData, dataObject, i)
{
var cachedData = $('body').data('cachedData');
- dialog.loadData(formData, i);
+ dataObject.loadData(dialogData, i);
// cache event data locally
- cachedData[dialog.id] = dialog;
+ cachedData[dataObject.id] = dataObject;
$('body').data('cachedData', cachedData);
- return dialog;
+ return dataObject;
}
function appendHiddenFields(thisForm, options)
@@ -98,7 +98,7 @@
$('body').data('cachedData', new Array()); // Data cache
// Build object for holding dialog data
- var DialogData = function()
+ var DialogObject = function()
{
var obj = this;
@@ -124,7 +124,7 @@
// Submit dialog data
var handleSubmit = function() {
- submitDialog(this.getData(), new DialogData, counter++); // Save the
data to the main form
+ submitDialog(this.getData(), new DialogObject, counter++); // Save
the data to the main form
this.hide(); // Hide dialog
//clearActorEventDialog(); // Clear the dialog form
};
--
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.