Author: sevein
Date: Sat Oct 1 02:35:46 2011
New Revision: 9898
Log:
Dialogs, store autocomplete display value. Originally introduced in r6831,
behaviour removed (accidentally?) in r6871. Fixes issue 2070 and issue 2083.
This bug was present in 1.1.
Modified:
trunk/js/dialog.js
Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js Fri Sep 30 16:09:02 2011 (r9897)
+++ trunk/js/dialog.js Sat Oct 1 02:35:46 2011 (r9898)
@@ -418,6 +418,15 @@
{
delete thisDialog.iframes[index];
}
+
+ // Store autocomplete display values
+ if (0 < this.value.length)
+ {
+ var dname = $(this).prev('input:hidden').attr('name');
+ dname = dname.substr(0, dname.length - 1) + 'Display]';
+
+ yuiDialogData[dname] = this.value;
+ }
}
});
--
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.