Index: branches/5.2.x/admin_templates/user_item_tab.tpl =================================================================== --- branches/5.2.x/admin_templates/user_item_tab.tpl (revision 16611) +++ branches/5.2.x/admin_templates/user_item_tab.tpl (revision 16612) @@ -1,43 +1,43 @@
" view_template="in-commerce/user_item_tab" edit_template="in-commerce/products/products_edit" dep_buttons="new_product" category_id="-1" class="catalog-tab">
$Catalog.setItemCount('', ''); - $Catalog.setCurrentCategory('', ); + $Catalog.setCurrentCategory('', ); $Catalog.saveSearch('', '', ''); / Grids[''].SetDependantToolbarButtons( new Array('edit','delete')); $Catalog.setViewMenu(''); #separator#
Index: branches/5.2.x/admin_templates/catalog_tab.tpl =================================================================== --- branches/5.2.x/admin_templates/catalog_tab.tpl (revision 16611) +++ branches/5.2.x/admin_templates/catalog_tab.tpl (revision 16612) @@ -1,102 +1,102 @@ function createProductMenu() { prod_menu = menuMgr.createMenu(rs('new_prod_menu')); prod_menu.applyBorder(false, false, false, false); prod_menu.dropShadow("none"); prod_menu.showIcon = true; prod_menu.addItem(rs('product.type.'),'','javascript:new_product();'); } a_toolbar.AddButton( new ToolBarButton( 'in-commerce:new_product', '::', function() { renderMenus(); nls_showMenu(rs('new_prod_menu'), a_toolbar.GetButtonImage('new_product')); }, true ) ); function new_product($type) { $form_name = $Catalog.queryTabRegistry('prefix', $Catalog.ActivePrefix, 'tab_id') + '_form'; set_hidden_field('_new_type', $type); std_precreate_item($Catalog.ActivePrefix, $Catalog.queryTabRegistry('prefix', $Catalog.ActivePrefix, 'edit_template')); var $kf = document.getElementById($form_name); var $prev_action = $kf.action; $kf.action = ''; set_hidden_field('remove_specials[' + $Catalog.ActivePrefix + ']', 1); std_precreate_item( $Catalog.ActivePrefix, $Catalog.queryTabRegistry('prefix', $Catalog.ActivePrefix, 'edit_template'), function() { $kf.action = $prev_action; } ); } createProductMenu();
" view_template="in-commerce/catalog_tab" edit_template="in-commerce/products/products_edit" category_id="-1" dep_buttons="new_product" class="catalog-tab">
$Catalog.setItemCount('', ''); $Catalog.setItemCount('', ''); - $Catalog.setCurrentCategory('', ); + $Catalog.setCurrentCategory('', ); $Catalog.saveSearch('', '', ''); / Grids[''].AddAlternativeGrid('', true); Grids[''].SetDependantToolbarButtons( new Array('edit','delete','approve','decline','sep3','cut','copy','move_up','move_down','sep6')); $Catalog.setViewMenu(''); Grids[''].DblClick = function() {return false}; #separator# _new_type" id="_new_type" value="">
Index: branches/5.2.x/admin_templates/products/products_pricing_grid.tpl =================================================================== --- branches/5.2.x/admin_templates/products/products_pricing_grid.tpl (revision 16611) +++ branches/5.2.x/admin_templates/products/products_pricing_grid.tpl (revision 16612) @@ -1,110 +1,110 @@
_div" prefix="" group_id="-1">
if ($request_visible) { - document.getElementById('_div').setAttribute('group_id', ); - maximizeElement( jq('#_div') ); + document.getElementById('_div').setAttribute('group_id', ); + maximizeElement( jq('#_div') ); } document.getElementById('save_warning').style.display = 'block'; $edit_mode = true; #separator# " name="pr.tang[][]" id="pr.tang[][]" tabindex="" value="" > ][]" id="pr.tang[][]" tabindex="" value=""> " type="checkbox" id="_cb_" name="_cb_" checked class="" onclick="update_checkbox(this, document.getElementById('pr.tang[][]'))"> ][]" id="pr.tang[][]" tabindex="" value="" onchange="set_start(, )" > ][PriceId]" id="pr.tang[][PriceId]" value=""> tabindex="" readonly
name="pr.tang[][]" id="pr.tang[][]" value="" disabled > "> style="width: ">
Index: branches/5.2.x/admin_templates/user_order_item_tab.tpl =================================================================== --- branches/5.2.x/admin_templates/user_order_item_tab.tpl (revision 16611) +++ branches/5.2.x/admin_templates/user_order_item_tab.tpl (revision 16612) @@ -1,36 +1,36 @@
" view_template="in-commerce/user_order_item_tab" edit_template="in-commerce/orders/orders_edit" dep_buttons="new_order" category_id="-1" class="catalog-tab">
$Catalog.setItemCount('', ''); - $Catalog.setCurrentCategory('', ); + $Catalog.setCurrentCategory('', ); $Catalog.saveSearch('', '', ''); Grids[''].SetDependantToolbarButtons( new Array('edit','delete')); $Catalog.setViewMenu(''); #separator#