Fixed issue 21307: Now the focus moves ok on tab key press
authorDavid Baz Fayos <david.baz@openbravo.com>
Wed, 22 Aug 2012 01:38:15 +0200
changeset 17906 d1b052e97642
parent 17905 191449415397
child 17907 bdb042968b2b
Fixed issue 21307: Now the focus moves ok on tab key press
while editing a grid item with text reference (textarea)
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-textarea.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-textarea.js	Thu Aug 02 14:54:37 2012 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-textarea.js	Wed Aug 22 01:38:15 2012 +0200
@@ -86,6 +86,6 @@
 if (isc.ListGrid.getPrototype()._popUpTextAreaEditorTypes) {
   // handle case when loading source code
   isc.ListGrid.getPrototype()._popUpTextAreaEditorTypes.OBPopUpTextAreaItem = true;
-} else if (isc.ListGrid.getPrototype().$309) {
-  isc.ListGrid.getPrototype().$309.OBPopUpTextAreaItem = true;
+} else if (isc.ListGrid.getPrototype().$52x) {
+  isc.ListGrid.getPrototype().$52x.OBPopUpTextAreaItem = true;
 }
\ No newline at end of file