Commit f7a6fa25 by Masaru Abe

リファクタリング

parent 88d73f51
/// 設定変更画面 /// 設定変更画面
//名前空間用のオブジェクトを用意する
var SETTINGS = {};
// Init function of page // Init function of page
$(document).ready(function () { $(document).ready(function () {
...@@ -66,12 +69,6 @@ $(document).ready(function () { ...@@ -66,12 +69,6 @@ $(document).ready(function () {
$('#regionOptionBackup').css('visibility', 'hidden'); $('#regionOptionBackup').css('visibility', 'hidden');
} }
else { else {
// if (IsExistBackupFile() == false) {
// $("#dspOptRes").css('visibility', 'hidden');
// }
// else {
// $("#dspOptRes").css('visibility', '');
// }
// check show restore button No.17 // check show restore button No.17
...@@ -120,29 +117,6 @@ function changeLanguageCallBackFunction() { ...@@ -120,29 +117,6 @@ function changeLanguageCallBackFunction() {
document.title = I18N.i18nText('dspSetting') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('dspSetting') + ' | ' + I18N.i18nText('sysAppTitle');
}; };
/*
Check backup file exists or not
*/
//function IsExistBackupFile() {
// var isExisted = false;
// var params = { sid: ClientData.userInfo_sid(), deviceType: '4', filename: "webBackupData.json" };
// // Get list of files
// AVWEB.avwCmsApiSync(ClientData.userInfo_accountPath(), "getBackupFile", "post", params,
// function (data) {
// if (data) {
// isExisted = true;
// }
// },
// function (xhr, b, c) {
// if (xhr.status != 0) {
// isExisted = false;
// }
// else {
// AVWEB.showSystemError();
// }
// });
// return isExisted;
//};
/* /*
Check backup file exists or not for No.17 Check backup file exists or not for No.17
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment