Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/admin_templates/users/user_edit_items.tpl
Show All 36 Lines | |||||
var $url = this.URLMask.replace('#TEMPLATE_NAME#', this.queryTabRegistry('prefix', $prefix, 'module_path') + '/user_item_tab'); | var $url = this.URLMask.replace('#TEMPLATE_NAME#', this.queryTabRegistry('prefix', $prefix, 'module_path') + '/user_item_tab'); | ||||
this.BusyRequest[$prefix] = false; | this.BusyRequest[$prefix] = false; | ||||
Request.makeRequest($url, this.BusyRequest[$prefix], $div_id, this.successCallback, this.errorCallback, $div_id, this); | Request.makeRequest($url, this.BusyRequest[$prefix], $div_id, this.successCallback, this.errorCallback, $div_id, this); | ||||
} | } | ||||
}*/ | }*/ | ||||
var $Catalog = new Catalog('<inp2:m_Link template="#TEMPLATE_NAME#" pass_through="ts" ts="user" pass="m,u" no_amp="1" js_escape="1"/>', 'useritems_', 'UserItemEditor'); | var $Catalog = new Catalog('<inp2:adm_SelectorLink template="#TEMPLATE_NAME#" pass_through="ts" ts="user" pass="m,u" no_amp="1" js_escape="1"/>', 'useritems_', 'UserItemEditor'); | ||||
a_toolbar = new ToolBar(); | a_toolbar = new ToolBar(); | ||||
a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() { | a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() { | ||||
submit_event('u','<inp2:u_SaveEvent/>'); | submit_event('u','<inp2:u_SaveEvent/>'); | ||||
} | } | ||||
) ); | ) ); | ||||
a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() { | a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() { | ||||
submit_event('u','OnCancelEdit'); | submit_event('u','OnCancelEdit'); | ||||
▲ Show 20 Lines • Show All 108 Lines • ▼ Show 20 Line(s) | |||||
addLoadEvent( | addLoadEvent( | ||||
function() { | function() { | ||||
$Catalog.Init(false); | $Catalog.Init(false); | ||||
} | } | ||||
); | ); | ||||
</script> | </script> | ||||
<inp2:m_include t="incs/footer" noform="yes"/> | <inp2:m_include t="incs/footer" noform="yes"/> | ||||
No newline at end of file |