Not needed - Only load infolog list on first time.

Loading it again (in an ajax submit) will load it into addressbook.view etemplate2 object used as context for request, corrupting it.
This commit is contained in:
Nathan Gray 2014-03-11 15:27:37 +00:00
parent a5fcb430ef
commit 4110056a3e

View File

@ -85,12 +85,6 @@ app.classes.addressbook = AppJS.extend(
*/
view_actions: function(_action)
{
// no idea why this.et2 is sometimes not initialised correctly
// if (!(this.et2 && this.et2 instanceof et2_container) && typeof etemplate2 != 'undefined')
{
var template = etemplate2.getByTemplate('addressbook.view')[0];
this.et2 = template.widgetContainer;
}
var id = this.et2.getArrayMgr('content').data.id;
switch(_action.id)