[
https://issues.jboss.org/browse/RF-13537?page=com.atlassian.jira.plugin.s...
]
Brian Leathem edited comment on RF-13537 at 4/2/14 11:56 AM:
-------------------------------------------------------------
[~mitalex], [~rustock0], [~littlie], [~mpatelekom], [~markus.meisterernst.2014],
[~vorgehen], [~yaskovsergey], [~raild], [~libal] vote stacking from a single company is
not appreciated. It makes our task as Open Source developers more difficult by making it
harder to triage and prioritize issues. Please don't do it.
-- Sorry, I commented on the wrong issue :P
was (Author: bleathem):
[~mitalex], [~rustock0], [~littlie], [~mpatelekom], [~markus.meisterernst.2014],
[~vorgehen], [~yaskovsergey], [~raild], [~libal] vote stacking from a single company is
not appreciated. It makes our task as Open Source developers more difficult by making it
harder to triage and prioritize issues. Please don't do it.
Autocomplete: onbegin attribute ignored
---------------------------------------
Key: RF-13537
URL:
https://issues.jboss.org/browse/RF-13537
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.3.5
Reporter: alexey plotnikov
Fix For: 4.3.6
"onbegin" attribute of rich:autocomplete is always ignored!
I suggest next fix:
In file Autocomplete.js:
{code}
var callAjax = function(event, callback) {
...
this.isFirstAjax = false;
//caution: JSF submits inputs with empty names causing "WARNING: Parameters:
Invalid chunk ignored." in Tomcat log
var params = {};
params[this.id + ".ajax"] = "1";
rf.ajax(this.id, event, {parameters: params, error: ajaxError, complete:ajaxSuccess});
}
{code}
for fixing, we must replace on
{code}
var callAjax = function(event, callback) {
...
this.isFirstAjax = false;
//caution: JSF submits inputs with empty names causing "WARNING: Parameters:
Invalid chunk ignored." in Tomcat log
var params = {};
params[this.id + ".ajax"] = "1";
var parameters_extended = {parameters: params, error: ajaxError, complete:ajaxSuccess};
if (this.options.onbegin != undefined) {
parameters_extended.begin = this.options.onbegin;
}
rf.ajax(this.id, event, parameters_extended);
}
{code}
I can create pull request if everything ok.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira