mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 23:59:57 +09:00
admin ui bug fixes
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12086 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
94cad17e33
commit
d341ccf7bf
1 changed files with 14 additions and 6 deletions
|
|
@ -329,7 +329,7 @@
|
||||||
<input type="submit" class="x_icon-zoom-in _pc_preview_open" value="크게 보기" />
|
<input type="submit" class="x_icon-zoom-in _pc_preview_open" value="크게 보기" />
|
||||||
</div>
|
</div>
|
||||||
<div class="x_tab-pane" id="mobile">
|
<div class="x_tab-pane" id="mobile">
|
||||||
<iframe name="_mobile_preview_ifr" src="about:_blank"></iframe><i class="mask"></i>
|
<iframe name="_mobile_preview_ifr" src="about:_blank" style="width:480px;height:800px;margin-left:60px"></iframe><i class="mask"></i>
|
||||||
<input type="submit" class="x_icon-zoom-in _mobile_preview_open" value="크게 보기" />
|
<input type="submit" class="x_icon-zoom-in _mobile_preview_open" value="크게 보기" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -1271,6 +1271,10 @@ jQuery(function($){
|
||||||
$('#site').scrollTo($('#site').width(), 0, {duration: 0 } );
|
$('#site').scrollTo($('#site').width(), 0, {duration: 0 } );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function scrollToTop($Area){
|
||||||
|
$Area.scrollTo(0, 0, {duration: 0 } );
|
||||||
|
}
|
||||||
|
|
||||||
<!--@if($act == 'dispMenuAdminSiteMap')-->
|
<!--@if($act == 'dispMenuAdminSiteMap')-->
|
||||||
$("#site_map ._addSiteMap").click(function(){
|
$("#site_map ._addSiteMap").click(function(){
|
||||||
$("#siteMapTree").jstree("deselect_all");
|
$("#siteMapTree").jstree("deselect_all");
|
||||||
|
|
@ -2189,6 +2193,7 @@ jQuery(function($){
|
||||||
createPagination($Panel.find('._pagination'), fnCallback, htInfo.cur_page, htInfo.total_page, "« 첫 페이지", "끝 페이지 »", "페이지 직접 이동")
|
createPagination($Panel.find('._pagination'), fnCallback, htInfo.cur_page, htInfo.total_page, "« 첫 페이지", "끝 페이지 »", "페이지 직접 이동")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scrollToTop($Panel.find('.cnt'));
|
||||||
scrollToRight();
|
scrollToRight();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -2530,7 +2535,7 @@ exec_xml("module","procModuleAdminSetDesignInfo", params, completeTmp)
|
||||||
//
|
//
|
||||||
});
|
});
|
||||||
$('._mobile_preview_open').click(function(ev){
|
$('._mobile_preview_open').click(function(ev){
|
||||||
window.open($('input[name=_mobile_preview_ifr]').attr('src'), "xe_preview", "resizable=yes");
|
window.open($('input[name=_mobile_preview_ifr]').attr('src'), "xe_preview", "resizable=yes,width=480,height=800");
|
||||||
//ev.preventDefault();
|
//ev.preventDefault();
|
||||||
//
|
//
|
||||||
});
|
});
|
||||||
|
|
@ -2994,17 +2999,20 @@ exec_xml("module","procModuleAdminSetDesignInfo", params, completeTmp)
|
||||||
var sSelected = "";
|
var sSelected = "";
|
||||||
var sSelectedSkin = "";
|
var sSelectedSkin = "";
|
||||||
var htDesign = $._xeAdminVar.htSelectedMenuDesign;
|
var htDesign = $._xeAdminVar.htSelectedMenuDesign;
|
||||||
if(htDesign.htSkin[sType] == ""){
|
/*
|
||||||
sSelectedSkin = "";
|
|
||||||
sSelected = "selected";
|
|
||||||
}
|
|
||||||
$List.append($.tmpl("skinListItem_noskin", {
|
$List.append($.tmpl("skinListItem_noskin", {
|
||||||
Selected : sSelected
|
Selected : sSelected
|
||||||
}).data('SkinName', ""));
|
}).data('SkinName', ""));
|
||||||
|
*/
|
||||||
|
|
||||||
for(var sName in htData.skin_info_list){
|
for(var sName in htData.skin_info_list){
|
||||||
if(!htData.skin_info_list.hasOwnProperty(sName)) continue;
|
if(!htData.skin_info_list.hasOwnProperty(sName)) continue;
|
||||||
|
|
||||||
|
// if nothing is selected, select the first one.
|
||||||
|
if(htDesign.htSkin[sType] == ""){
|
||||||
|
htDesign.htSkin[sType] = sName;
|
||||||
|
}
|
||||||
|
|
||||||
htInfo = htData.skin_info_list[sName];
|
htInfo = htData.skin_info_list[sName];
|
||||||
//for(var i=0, nLen=htData.skin_info_list.length; i<nLen; i++){
|
//for(var i=0, nLen=htData.skin_info_list.length; i<nLen; i++){
|
||||||
htInfo.sName = sName;
|
htInfo.sName = sName;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue