From c7940bd2f3a4231ea18c917ff4c02bb773c11523 Mon Sep 17 00:00:00 2001 From: nagoon97 Date: Sat, 3 Nov 2012 11:41:10 +0000 Subject: [PATCH] Bug in unchecking Use Site Default option fixed git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12083 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/menu/tpl/sitemap.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/menu/tpl/sitemap.html b/modules/menu/tpl/sitemap.html index 34c117be8..7a1b534c9 100644 --- a/modules/menu/tpl/sitemap.html +++ b/modules/menu/tpl/sitemap.html @@ -2492,6 +2492,13 @@ exec_xml("module","procModuleAdminSetDesignInfo", params, completeTmp) }); $('#layout ._chkUseDefaultLayout').click(function(){ + if(!$(this).attr('checked')){ + updatePreview({ + sLayoutSrl : 0, + htLayoutData : {} + }); + } + updateLayoutListDisplayStatus(); }); $("#tmpl_layout_list_item_no_layout").template( "layoutListItem_nolayout" ); @@ -2535,13 +2542,6 @@ exec_xml("module","procModuleAdminSetDesignInfo", params, completeTmp) htLayoutData : {} }); }else{ - /* - updatePreview({ - sLayoutSrl : 0, - htLayoutData : {} - }); - */ - $('#layout .list').show(); } }