Author: jablko
Date: Mon Oct 18 10:04:16 2010
New Revision: 8227
Log:
Cosmetic change
Modified:
trunk/js/dialog.js
Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js Mon Oct 18 10:03:22 2010 (r8226)
+++ trunk/js/dialog.js Mon Oct 18 10:04:16 2010 (r8227)
@@ -193,7 +193,7 @@
$(this.form).submit(this.onSubmit);
// Wait for all iframes to finish before submitting main form
- this.done = function()
+ this.done = function ()
{
// Decrement count of listeners and submit if all done
if (1 > --this.count)
@@ -463,7 +463,7 @@
this.clear = function ()
{
// Remove "id" field
- $('input[name="id"]', this.table).remove();
+ $('input[name=id]', this.table).remove();
// Clear fields
for (fname in this.fields)
@@ -558,20 +558,20 @@
}
}
- if(0 == $('tr[id="' + this.id + '"]', displayTable).length)
+ if(0 == $('tr[id=' + this.id + ']', displayTable).length)
{
$(displayTable).append(tr);
}
else
{
- $('tr[id="' + this.id + '"]', displayTable).replaceWith(tr);
+ $('tr[id=' + this.id + ']', displayTable).replaceWith(tr);
}
// Bind events
- $('tr[id="' + this.id + '"] img[alt=edit]').click(function () {
+ $('tr[id=' + this.id + '] img[alt=edit]').click(function () {
thisDialog.open($(this).parents('tr').attr('id'));
});
- $('tr[id="' + this.id + '"] button[name=delete]').click(function () {
+ $('tr[id=' + this.id + '] button[name=delete]').click(function () {
thisDialog.remove($(this).parents('tr').attr('id'));
return false;
});
--
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.