mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#18592228 r7123에서 수정했으나 IE에서 버그가 남아있던 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7125 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
69fcd7d1f4
commit
27317eec99
1 changed files with 6 additions and 4 deletions
|
|
@ -53,9 +53,11 @@ function deleteFile(layout_srl,filename){
|
|||
|
||||
/* preview layout */
|
||||
function doPreviewLayoutCode(layout_srl) {
|
||||
var act = $('input[name=act]','#fo_layout').val();
|
||||
$('#fo_layout').attr('target', "_LayoutPreview").find('input[name=act]').val('dispLayoutAdminPreview');
|
||||
$('#fo_layout').submit().removeAttr('target').find('input[name=act]').val(act);
|
||||
var fo = $('#fo_layout');
|
||||
var act = fo.find('input[name=act]:first').val();
|
||||
fo.attr('target', '_LayoutPreview').find('input[name=act]').val('dispLayoutAdminPreview');
|
||||
fo.submit();
|
||||
//.removeAttr('target').find('input[name=act]').val(act);
|
||||
}
|
||||
window.doPreviewLayoutCode = doPreviewLayoutCode;
|
||||
|
||||
|
|
@ -67,7 +69,7 @@ window.doResetLayoutCode = doResetLayoutCode;
|
|||
|
||||
var validator = xe.getApp('validator')[0];
|
||||
validator.cast('ADD_CALLBACK', ['update_layout_code', function(form) {
|
||||
if (form.act.value != 'procLayoutAdminCodeUpdate') return false;
|
||||
if (form.act.value != 'procLayoutAdminCodeUpdate') return true;
|
||||
|
||||
var params={},data=$(form).serializeArray();
|
||||
$.each(data, function(i,field){ params[field.name] = field.value });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue