[
https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Le Roux closed OFBIZ-4813.
----------------------------------
Resolution: Fixed
Hi Wai,
At r1328738, I have applied your patch in trunk but commented out the lines
{code}
//default ajax request timeout in milliseconds
var AJAX_REQUEST_TIMEOUT = 5000;
...
//search for <span style="message...> returned from
server
var matchFound =
data.toString().match(AJAX_SERVER_REPLY_MSG_REGEXPATTERN);
if (matchFound != null) {
alert(matchFound[1].trim());
response(null);
return;
}
{code}
This because:
# I don't see any reasons to show the error message in an alert box rather than
in the layered popup
# In the alert box the special characters (French accents for instance) were
not handled
> ajax autocomplete and dialog during session timeout
> ---------------------------------------------------
>
> Key: OFBIZ-4813
> URL: https://issues.apache.org/jira/browse/OFBIZ-4813
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Reporter: Wai
> Assignee: Jacques Le Roux
> Fix For: SVN trunk
>
> Attachments: ofbiz-4813-additional.patch, ofbiz-4813.patch,
> ofbiz-4813.patch, ofbiz-4813.patch, spinner.gif
>
>
> 1. autocomplete feature shows the message "no records found" during a session
> timeout. This could be misleading for the user.
> 2. During a session timeout, clicking on ajax dialog button shows a large
> frame containing a message indicating session has timeout. Should show a
> more detailed message.
> 3. All ajax dialogs are on the left of browser window.
> A number of fixes have been implemented for this issue.
> 1. At session timeout, user enters a character into autocomplete input box
> results in a alert window popup.
> 2. At session timeout, clicking on ajax dialog button will cause alert window
> to popup.
> 3. A large round spinner is shown when the ajax dialog is loading. This
> spinner image comes from http://mentalized.net/activity-indicators/ and is
> royalty free. Note the round spinner does not show in Tomahawk theme as it
> uses its own spinner.
> 4. Now all ajax dialogs are centered.
> 5. Change session timeout message to something more detailed.
> 6. Server response to ajax request now contain html tags.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira