Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #21049 All Revisions ] Back to Issue ]
Summary 0021049: Callouts have different behaviour if you push enter or Tab key
Revision 2012-07-20 12:59 by AugustoMauch
Description Callouts have different behaviour if you push enter or Tab key

If you need to execute js code or you want to show a message in a callout, it is imposible if you push in enter and not in Tab key

In function processFICReturn:

-when you push Tab key the code "if (calloutMessages && calloutMessages.length > 0 && calloutMessages[calloutMessages.length - 1].text !== '') {
                                    this.view.messageBar.setMessage(isc.OBMessageBar[calloutMessages[calloutMessages.length - 1].severity], null, calloutMessages[calloutMessages.length - 1].text);
                                }"
OR
"if (data.jscode) {
                                    length = data.jscode.length;
                                    for (i = 0; i < length; i++) {
                                        eval(data.jscode[i]);
                                    }
                                }"
is executed but when you push "Enter" or "Save" this isf is "True":
if (this.grid && gridEditInformation && this.grid.getEditRow() !== gridEditInformation.editRow) {
So return is executed and not the neccesary code
Revision 2012-07-12 16:07 by jecharri
Description Callouts have different behaviour if you push enter or Tab key

If you need to execute js code or you want to show a message in a callout, it is imposible if you push in enter and not in Tab key
Revision 2012-07-12 16:02 by jecharri
Description Callouts have different behaviour in you push enter or Tab key

If you need to execute js code or you want to show a message in a callout, it is imposible if you push in enter and not in Tab key


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker