mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
fixed an error in site design saving function on IE
alert pop-up design change git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12606 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d50fa66b7f
commit
eafb2a9a8f
3 changed files with 9 additions and 9 deletions
|
|
@ -1141,7 +1141,7 @@ function clearInputs($elm){
|
|||
|
||||
function setItemTypes(htTypes){
|
||||
var $ = jQuery;
|
||||
|
||||
$.test=htTypes;
|
||||
$._xeAdminVar.htItemTypes = htTypes || {};
|
||||
|
||||
$._xeAdminVar.htItemTypes._SHORTCUT = {
|
||||
|
|
@ -2749,19 +2749,18 @@ jQuery(function($){
|
|||
$._xeAdminVar.sOpenDeisgnWith = "P";
|
||||
//});
|
||||
});
|
||||
|
||||
$('#design ._btn_save').click(function(ev){
|
||||
ev.preventDefault();
|
||||
|
||||
var sMode = $._xeAdminVar.htPrevSetting.bMobilePreviewTabOpen?"M":"P";
|
||||
|
||||
|
||||
//var sLayoutSrl = $._xeAdminVar.htSelectedMenuDesign.htLayoutSrl[sMode];
|
||||
var htDesign = $._xeAdminVar.htSelectedMenuDesign;
|
||||
var htSkins = {};
|
||||
var item;
|
||||
for(var sModuleName in $._xeAdminVar.htItemTypes){
|
||||
if(! $._xeAdminVar.htItemTypes.hasOwnProperty(sModuleName)) continue;
|
||||
if(sModuleName === "_SHORTCUT") continue;
|
||||
|
||||
|
||||
item = $._xeAdminVar.htItemTypes[sModuleName];
|
||||
sModuleTitle = item.title;
|
||||
|
||||
|
|
@ -2774,7 +2773,7 @@ jQuery(function($){
|
|||
target_type : sMode,
|
||||
module_skin : $.stringify(htSkins)
|
||||
};
|
||||
|
||||
|
||||
//console.log(htParam);
|
||||
|
||||
jQuery.exec_json("admin.procAdminInsertDefaultDesignInfo", htParam, function(htData){
|
||||
|
|
@ -3508,7 +3507,6 @@ jQuery(function($){
|
|||
$._xeAdminVar.htItemTypes[$._htMarkupActionParam.moduleType].defaultMobileSkin.skin = sSkinName;
|
||||
$._xeAdminVar.htItemTypes[$._htMarkupActionParam.moduleType].defaultMobileSkin.title = sSkinTitle;
|
||||
}
|
||||
|
||||
<!--@end-->
|
||||
|
||||
htDesign.sSkinName = sSkinName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue