Author: jablko
Date: Mon Oct 18 17:43:50 2010
New Revision: 8253
Log:
Rollback commit 8246, http://bugs.jquery.com/ticket/7246
Modified:
trunk/js/dialog.js
Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js Mon Oct 18 17:43:15 2010 (r8252)
+++ trunk/js/dialog.js Mon Oct 18 17:43:50 2010 (r8253)
@@ -538,12 +538,15 @@
}
}
- if (!$('tr[id=' + this.id + ']', displayTable)
- .replaceWith(tr)
- .length)
+ // http://bugs.jquery.com/ticket/7246
+ if (!$('tr[id=' + this.id + ']', displayTable).length)
{
$(displayTable).append(tr);
}
+ else
+ {
+ $('tr[id=' + this.id + ']', displayTable).replaceWith(tr);
+ }
// Bind events
$('img[alt=edit]', tr).click(function ()
--
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.