This is all code from response? No Epesi.text() calls?
I've formatted this code a little so it's far more readable:
shortcut.remove_all();
shortcut.add("Ctrl+H", function () {
_chj('Base_HomePage_load=1', '', '');
}, {'type':'keydown', 'propagate':false, 'disable_in_input':false, 'target':document});
set_qf_sub0('libs_qf_d295ca9d33207859975fd1b3b6c2c832');
set_qf_sub0('libs_qf_04cae06fdde731f8dceeafa0d0563de6');
shoutbox_uid = "all";
set_qf_sub0('libs_qf_5ee7aa0b90b60431b7de7b6113de789e');
Event.observe("to", "keydown", function (ev) {
autoselect_start_searching("to", ev.keyCode)
});
Event.observe("to", "change", function () {
if ($("to").value == "")autoselect_start_searching("to");
});
var epesi_autocompleter = new Ajax.Autocompleter('__autocomplete_id_to__search', '__autocomplete_id_to__search_suggestbox', 'modules/Libs/QuickForm/FieldTypes/autocomplete/autocomplete_update.php?cid=0&key=c1c999b1cf0874223c607547acafd8ee', {frequency:0.6});
epesi_autocompleter.hide = function () {
this.stopIndicator();
if (Element.getStyle(this.update, "display") != "none") {
this.options.onHide(this.element, this.update);
}
if (this.iefix) {
Element.hide(this.iefix);
}
autoselect_on_hide("to", 0);
};
seterror('error_libs_qf_5ee7aa0b90b60431b7de7b6113de789e_to_select', '');
seterror('error_libs_qf_5ee7aa0b90b60431b7de7b6113de789e_post_textarea', '');
seterror('error_libs_qf_5ee7aa0b90b60431b7de7b6113de789e_submit_button_submit', '');
shoutbox_refresh();
rssfeedfunc('7f0bcc0fa36d9b517d56c21dde8332e0', 'http://weather.yahooapis.com/forecastrss?p=19063&u=f', 2, 1);
set_qf_sub0('libs_qf_9625b2e0e5fc576f83ce8ca61e76641c');
set_qf_sub0('libs_qf_04465cb88e2c1dbde7ccbcf0c6a7f94a');
set_qf_sub0('libs_qf_9f4c128abec2ff8980414df811464981');
set_qf_sub0('libs_qf_294bab0baf9fd5a9691cdb45cc6d264c');
set_qf_sub0('libs_qf_e7b47e66d9b63eb688f878016be82941');
set_qf_sub0('libs_qf_b045e7dccd53213c20a332a8c3d57887');
CoolClock.findAndCreateClocks();
set_qf_sub0('libs_qf_d888b5793c19844eb17277cbca1c453c');
seterror('errorlibs_qf_d888b5793c19844eb17277cbca1c453cw', '');
dashboard_activate(1, 0);
set_qf_sub0('libs_qf_41850ebcec166da9807b08575196fefd');
seterror('error_libs_qf_41850ebcec166da9807b08575196fefd_quick_search_text', '');
seterror('error_libs_qf_41850ebcec166da9807b08575196fefd_quick_search_submit_submit', '');
$("launchpad_button_section").style.display = "";
$("launchpad_button_section_spacing").style.display = "";
document.title = 'EPESI - Dashboard';
Event.observe('crm_filters_my', 'click', crm_filters_deactivate);
Event.observe('crm_filters_all', 'click', crm_filters_deactivate);
Event.observe('crm_filters_manage', 'click', crm_filters_deactivate);
set_qf_sub0('libs_qf_403a9c553880655a8082c8cd1befe4c8');
Event.observe("crm_filter_contact", "keydown", function (ev) {
autoselect_start_searching("crm_filter_contact", ev.keyCode)
});
Event.observe("crm_filter_contact", "change", function () {
if ($("crm_filter_contact").value == "")autoselect_start_searching("crm_filter_contact");
});
var epesi_autocompleter = new Ajax.Autocompleter('__autocomplete_id_crm_filter_contact__search', '__autocomplete_id_crm_filter_contact__search_suggestbox', 'modules/Libs/QuickForm/FieldTypes/autocomplete/autocomplete_update.php?cid=0&key=d80f0137e7d05304c43480be172e5fd3', {frequency:0.6});
epesi_autocompleter.hide = function () {
this.stopIndicator();
if (Element.getStyle(this.update, "display") != "none") {
this.options.onHide(this.element, this.update);
}
if (this.iefix) {
Element.hide(this.iefix);
}
autoselect_on_hide("crm_filter_contact", 0);
};
seterror('error_libs_qf_403a9c553880655a8082c8cd1befe4c8_crm_filter_contact_select', '');
seterror('error_libs_qf_403a9c553880655a8082c8cd1befe4c8_submit_submit', '');
s = $('crm_filters').style;
s.top = '5%';
s.left = '5%';
s.width = '90%';
s.height = '90%';
s.padding = '0px';
check_for_new_version();
Utils_Tooltip__hideTip();
table_overflow_hide(utils_genericbrowser__hide_current);
statusbar_message('');
Epesi.history_add(2);
I've marked title of document... So when you click next in companies, you get dashboard? Are you sure this is right response?
Second thing that is strange to me is
Epesi.history_add. Normally when you open EPESI you get history #1, then after going to companies you should get #2, and click in "Next" should give #3.
Maybe this issue is caused by some problem with generating output in PHP.
One I've found is that registry undefined error is raised when element supplied to observe function is undefined.
So if it's all of your output (with no html), then we have Dashboard js that is trying to operate on non-existing elements and it gives us error.
Please check your http server logs for any errors. Also remember to turn on error reporting in config.php.
Regards,
Adam