Differential D97 Diff 275 branches/5.3.x/core/admin_templates/catalog/item_selector/item_selector_advanced_view.tpl
Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/admin_templates/catalog/item_selector/item_selector_advanced_view.tpl
Show All 15 Lines | |||||
<td> | <td> | ||||
<input type="hidden" name="m_cat_id" value="<inp2:m_get name="m_cat_id"/>"/> | <input type="hidden" name="m_cat_id" value="<inp2:m_get name="m_cat_id"/>"/> | ||||
<inp2:m_include t="catalog/item_selector/item_selector_toolbar" is_catalog="0"/> | <inp2:m_include t="catalog/item_selector/item_selector_toolbar" is_catalog="0"/> | ||||
<script type="text/javascript"> | <script type="text/javascript"> | ||||
Catalog.prototype.AfterInit = function() { | Catalog.prototype.AfterInit = function() { | ||||
this.switchTab(); | this.switchTab(); | ||||
} | } | ||||
var $Catalog = new Catalog('<inp2:m_Link template="#TEMPLATE_NAME#" pass_through="ts,td,tm,type" type="item_selector" ts="showall" td="no" m_cat_id="#CATEGORY_ID#" no_amp="1" js_escape="1"/>', 'is_advanced_view_', 'ItemSelectorAdvancedView'); | var $Catalog = new Catalog('<inp2:adm_SelectorLink template="#TEMPLATE_NAME#" pass="m" pass_through="ts,td,tm,type" type="item_selector" ts="showall" td="no" m_cat_id="#CATEGORY_ID#" no_amp="1" js_escape="1"/>', 'is_advanced_view_', 'ItemSelectorAdvancedView'); | ||||
</script> | </script> | ||||
</td> | </td> | ||||
<inp2:m_RenderElement name="catalog_search_box"/> | <inp2:m_RenderElement name="catalog_search_box"/> | ||||
</tr> | </tr> | ||||
</tbody> | </tbody> | ||||
</table> | </table> | ||||
<inp2:m_RenderElement name="kernel_form_end"/> | <inp2:m_RenderElement name="kernel_form_end"/> | ||||
Show All 13 Lines | |||||
Application.setHook( | Application.setHook( | ||||
'm:OnAfterWindowLoad', | 'm:OnAfterWindowLoad', | ||||
function() { | function() { | ||||
$Catalog.Init(); | $Catalog.Init(); | ||||
} | } | ||||
); | ); | ||||
</script> | </script> | ||||
<inp2:m_include t="incs/footer" noform="yes"/> | <inp2:m_include t="incs/footer" noform="yes"/> | ||||
No newline at end of file |