issue 2853, fixed a bug. open PC list on download new layout and skin when mobile tab is opened.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12616 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2013-01-30 07:36:43 +00:00
parent a837338a17
commit 4598071847

View file

@ -2317,7 +2317,8 @@ jQuery(function($){
//index.php?act=getAutoinstallAdminMenuPackageList
$('#layout').nextAll().hide();
drawDownloadableList('downloadLayout');
var sMode = $._xeAdminVar.htPrevSetting.bMobilePreviewTabOpen?"M":"P";
drawDownloadableList('downloadLayout', { 'type': sMode});
});
$('#downloadSkin').bind("show", function(ev){
@ -2328,16 +2329,19 @@ jQuery(function($){
//index.php?act=getAutoinstallAdminMenuPackageList
$('#skin').nextAll().hide();
var sMode = $._xeAdminVar.htPrevSetting.bMobilePreviewTabOpen?"M":"P";
<!--@if($act == 'dispMenuAdminSiteMap')-->
drawDownloadableList('downloadSkin', {
parent_program : htNodeInfo[$._xeAdminVar.sSelectedMenuSrl].sModuleType
parent_program : htNodeInfo[$._xeAdminVar.sSelectedMenuSrl].sModuleType,
type: sMode
});
<!--@end-->
<!--@if($act == 'dispMenuAdminSiteDesign')-->
drawDownloadableList('downloadSkin', {
parent_program : $._xeAdminVar.htSelectedMenuDesign.sModuleName
parent_program : $._xeAdminVar.htSelectedMenuDesign.sModuleName,
type: sMode
});
<!--@end-->
});