| Server IP : 133.18.244.157 / Your IP : 216.73.217.20 Web Server : Apache System : Linux o4022v-135.kagoya.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : main2 ( 81069) PHP Version : 5.6.34 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /install/web_root/html/js/component/ |
Upload File : |
mw.base.namespace('mw.setupaccount');
(function() {
var ns = mw.setupaccount;
ns.closeDialog = function() {
var $dlg = $('#setup_account_dlg');
if ($dlg) {
$dlg.dialog('close');
}
};
jQuery(function($) {
var $dlg = $('#setup_account_dlg');
if ($dlg.size() > 0) {
$dlg.remove();
}
var src = mw.SERVER + 'page=SystemSetupAccount&wid=' + ns.WID + '&id=' + ns.BS;
$dlg = $('<div style="display:none" id="setup_account_dlg"></div>');
$dlg.append($('<iframe style="width:760px;height:520px;" border="0" frameborder="0" hspace="0" vspace="0" marginheight="0" marginwidth="0" scrolling="auto" id="setup_account_frame"></iframe>'));
var $hide = $('<a href="#">次回から表示しない</a>');
var data = 'page=AjaxHideSetup&rw=1&wid=' + ns.WID + '&BS=' + ns.BS;
$hide.click(function() {
$.ajax({
type: "POST",
url: mw.SERVER,
data: data,
dataType: "text",
success: function(data, status, xhr) {
// do nothing
},
error: function(xhr, status, error) {
// do nothing
}
});
$dlg.dialog('close');
});
$dlg.append($('<div></div>').append($hide));
$('body').append($dlg);
var setting = {
modal: true,
buttons: {}
};
setting.width = 800;
setting.height = 600;
$dlg.attr('title', 'メールアカウントの設定');
var frame = document.getElementById("setup_account_frame");
frame.src = src;
$(frame).load(function() {
$dlg.dialog(setting);
});
});
})();