mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 07:39:55 +09:00
JS callback function for the file chest in layout setup
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11786 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4782819765
commit
1cc9920274
1 changed files with 5 additions and 3 deletions
|
|
@ -2188,7 +2188,7 @@ jQuery(function($){
|
||||||
scrollToRight();
|
scrollToRight();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
function refreshLayoutMarkupSetup(){
|
top.refreshLayoutMarkupSetup = function(){
|
||||||
$('#layoutMarkupSetup').show();
|
$('#layoutMarkupSetup').show();
|
||||||
}
|
}
|
||||||
$('#layoutMarkupSetup').on('show', function(ev){
|
$('#layoutMarkupSetup').on('show', function(ev){
|
||||||
|
|
@ -2198,12 +2198,14 @@ jQuery(function($){
|
||||||
$contents = $('#layoutMarkupSetup ._contents');
|
$contents = $('#layoutMarkupSetup ._contents');
|
||||||
$contents.html(htData.html);
|
$contents.html(htData.html);
|
||||||
|
|
||||||
|
$allForms = $('#layoutMarkupSetup form');
|
||||||
|
|
||||||
$fileChest = $contents.find('form[enctype="multipart/form-data"]');
|
$fileChest = $contents.find('form[enctype="multipart/form-data"]');
|
||||||
$markup = $contents.find('#fo_layout');
|
$markup = $contents.find('#fo_layout');
|
||||||
|
|
||||||
$fileDelete = $('#layoutMarkupSetup form').not($fileChest).not($markup);
|
$fileDelete = $allForms.not($fileChest).not($markup);
|
||||||
|
|
||||||
$fileChest.append($("<INPUT>").attr("type", "hidden").attr("name", "xe_js_callback").attr("value", "refreshLayoutMarkupSetup"));
|
$fileChest.append($("<INPUT>").attr("type", "hidden").attr("name", "xe_js_callback").attr("value", "top.refreshLayoutMarkupSetup"));
|
||||||
$fileChest.attr('target', '_submitTarget');
|
$fileChest.attr('target', '_submitTarget');
|
||||||
|
|
||||||
var $configForm = $('#config_form');
|
var $configForm = $('#config_form');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue