Commit 7d170bd5 by Kang Donghun

セミコロン対応

parent 4b3d4390
...@@ -397,7 +397,7 @@ AVWEB.avwCheckLogin = function(option) { ...@@ -397,7 +397,7 @@ AVWEB.avwCheckLogin = function(option) {
var returnPage; var returnPage;
if(option) { if(option) {
returnPage = option returnPage = option;
} else { } else {
var sysSetting = AVWEB.avwSysSetting(); var sysSetting = AVWEB.avwSysSetting();
returnPage = sysSetting.loginPage; returnPage = sysSetting.loginPage;
...@@ -639,7 +639,7 @@ AVWEB.avwGrabContentPageImage = function(accountPath, params, success, error) { ...@@ -639,7 +639,7 @@ AVWEB.avwGrabContentPageImage = function(accountPath, params, success, error) {
var apiUrl; var apiUrl;
apiUrl = ClientData.conf_apiUrl(); //sysSettings.apiUrl; apiUrl = ClientData.conf_apiUrl(); //sysSettings.apiUrl;
if(accountPath) { if(accountPath) {
apiUrl = AVWEB.format(apiUrl, accountPath) apiUrl = AVWEB.format(apiUrl, accountPath);
} }
apiUrl = apiUrl + '/' + apiName + '/'; apiUrl = apiUrl + '/' + apiName + '/';
...@@ -750,7 +750,7 @@ AVWEB.avwUploadBackupFile = function(accountPath, params, async, success, error) ...@@ -750,7 +750,7 @@ AVWEB.avwUploadBackupFile = function(accountPath, params, async, success, error)
var apiUrl; var apiUrl;
apiUrl = ClientData.conf_apiUrl(); //sysSettings.apiUrl; apiUrl = ClientData.conf_apiUrl(); //sysSettings.apiUrl;
if(accountPath) { if(accountPath) {
apiUrl = AVWEB.format(apiUrl, accountPath) apiUrl = AVWEB.format(apiUrl, accountPath);
} }
apiUrl = apiUrl + '/' + apiName + '/'; apiUrl = apiUrl + '/' + apiName + '/';
......
...@@ -2138,7 +2138,7 @@ var ValidationUtil = { ...@@ -2138,7 +2138,7 @@ var ValidationUtil = {
list[i] = c; list[i] = c;
} }
var count = list.length; var count = list.length;
return count return count;
}, },
// Special character: * // Special character: *
IsCharacterSpecial : function(value) { IsCharacterSpecial : function(value) {
...@@ -3029,7 +3029,7 @@ COMMON.getBytes = function(value) { ...@@ -3029,7 +3029,7 @@ COMMON.getBytes = function(value) {
count = (count / 3) * 2 + tmp; count = (count / 3) * 2 + tmp;
} else { } else {
count = escapedStr.length count = escapedStr.length;
} }
return count; return count;
}; };
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
else if (localSettings.messages) { else if (localSettings.messages) {
toastItemInner = $('<div></div>').hide().addClass('toast-item').appendTo(toastWrapAll).animate(localSettings.inEffect, localSettings.inEffectDuration); toastItemInner = $('<div></div>').hide().addClass('toast-item').appendTo(toastWrapAll).animate(localSettings.inEffect, localSettings.inEffectDuration);
toastItemClose = $('<div></div>').addClass('toast-item-close').prependTo(toastItemInner).html(localSettings.closeText).click(function () { $().toastmessage('removeToast', toastItemInner, localSettings) }); toastItemClose = $('<div></div>').addClass('toast-item-close').prependTo(toastItemInner).html(localSettings.closeText).click(function () { $().toastmessage('removeToast', toastItemInner, localSettings); });
for (var nIndexMsg = 0; nIndexMsg < localSettings.messages.length; nIndexMsg++) { for (var nIndexMsg = 0; nIndexMsg < localSettings.messages.length; nIndexMsg++) {
// Add each message to display // Add each message to display
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
else { // Single message -> Same to old method else { // Single message -> Same to old method
toastItemInner = $('<div></div>').hide().addClass('toast-item toast-type-' + localSettings.type).appendTo(toastWrapAll).html($('<p>').append(localSettings.text)).animate(localSettings.inEffect, localSettings.inEffectDuration).wrap(toastItemOuter); toastItemInner = $('<div></div>').hide().addClass('toast-item toast-type-' + localSettings.type).appendTo(toastWrapAll).html($('<p>').append(localSettings.text)).animate(localSettings.inEffect, localSettings.inEffectDuration).wrap(toastItemOuter);
toastItemClose = $('<div></div>').addClass('toast-item-close').prependTo(toastItemInner).html(localSettings.closeText).click(function () { $().toastmessage('removeToast', toastItemInner, localSettings) }); toastItemClose = $('<div></div>').addClass('toast-item-close').prependTo(toastItemInner).html(localSettings.closeText).click(function () { $().toastmessage('removeToast', toastItemInner, localSettings); });
toastItemImage = $('<div></div>').addClass('toast-item-image').addClass('toast-item-image-' + localSettings.type).prependTo(toastItemInner); toastItemImage = $('<div></div>').addClass('toast-item-image').addClass('toast-item-image-' + localSettings.type).prependTo(toastItemInner);
} }
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
classes += this + "-hitarea "; classes += this + "-hitarea ";
}); });
$(this).addClass( classes ); $(this).addClass( classes );
}) });
} }
// apply event to hitarea // apply event to hitarea
......
...@@ -17,59 +17,59 @@ var scrolltotop={ ...@@ -17,59 +17,59 @@ var scrolltotop={
scrollup:function(){ scrollup:function(){
if (!this.cssfixedsupport) //if control is positioned using JavaScript if (!this.cssfixedsupport) //if control is positioned using JavaScript
this.$control.css({opacity:0}) //hide control immediately after clicking it this.$control.css({opacity:0}); //hide control immediately after clicking it
var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto) var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto);
if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
dest=jQuery('#'+dest).offset().top dest=jQuery('#'+dest).offset().top;
else else
dest=0 dest=0;
this.$body.animate({scrollTop: dest}, this.setting.scrollduration); this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
}, },
keepfixed:function(){ keepfixed:function(){
var $window=jQuery(window) var $window=jQuery(window);
var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx;
var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety;
this.$control.css({left:controlx+'px', top:controly+'px'}) this.$control.css({left:controlx+'px', top:controly+'px'});
}, },
togglecontrol:function(){ togglecontrol:function(){
var scrolltop=jQuery(window).scrollTop() var scrolltop=jQuery(window).scrollTop();
if (!this.cssfixedsupport) if (!this.cssfixedsupport)
this.keepfixed() this.keepfixed();
this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false;
if (this.state.shouldvisible && !this.state.isvisible){ if (this.state.shouldvisible && !this.state.isvisible){
this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0]) this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0]);
this.state.isvisible=true this.state.isvisible=true;
} }
else if (this.state.shouldvisible==false && this.state.isvisible){ else if (this.state.shouldvisible==false && this.state.isvisible){
this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1]) this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1]);
this.state.isvisible=false this.state.isvisible=false;
} }
}, },
init:function(){ init:function(){
jQuery(document).ready(function($){ jQuery(document).ready(function($){
var mainobj=scrolltotop var mainobj=scrolltotop;
var iebrws=document.all var iebrws=document.all;
mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest; //not IE or IE7+ browsers in standards mode
mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body') mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body');
mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>') mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
.css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'}) .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
//.attr({title:'Scroll Back to Top'}) //.attr({title:'Scroll Back to Top'})
.click(function(){mainobj.scrollup(); return false}) .click(function(){mainobj.scrollup(); return false;})
.appendTo('body') .appendTo('body');
if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text mainobj.$control.css({width:mainobj.$control.width()}); //IE6- seems to require an explicit width on a DIV containing text
mainobj.togglecontrol() mainobj.togglecontrol();
$('a[href="' + mainobj.anchorkeyword +'"]').click(function(){ $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
mainobj.scrollup() mainobj.scrollup();
return false return false;
}) });
$(window).bind('scroll resize', function(e){ $(window).bind('scroll resize', function(e){
mainobj.togglecontrol() mainobj.togglecontrol();
}) });
}) });
} }
}; };
......
...@@ -233,7 +233,7 @@ CONTENTVIEW_EVENTS.showCopyText = function(e) { ...@@ -233,7 +233,7 @@ CONTENTVIEW_EVENTS.showCopyText = function(e) {
$("#overlay").show(); $("#overlay").show();
var array = [e.pageX, e.pageY]; var array = [e.pageX, e.pageY];
var contentPage = CONTENTVIEW_GENERAL.dataWebContentPage.pages; var contentPage = CONTENTVIEW_GENERAL.dataWebContentPage.pages;
CONTENTVIEW.handleCopyTextData(contentPage, array) CONTENTVIEW.handleCopyTextData(contentPage, array);
} }
}; };
......
...@@ -1049,7 +1049,7 @@ CONTENTVIEW_GETDATA.getBookmarklist = function(pos) { ...@@ -1049,7 +1049,7 @@ CONTENTVIEW_GETDATA.getBookmarklist = function(pos) {
$("#divListBookmark").offset({ left: pos[0], top: (pos[1] + $('#bookmarkBoxHdBM').height()) }); $("#divListBookmark").offset({ left: pos[0], top: (pos[1] + $('#bookmarkBoxHdBM').height()) });
} }
else { else {
CONTENTVIEW.handleAPIWebContentPage(CONTENTVIEW_GENERAL.dataWebContentPage, pos) CONTENTVIEW.handleAPIWebContentPage(CONTENTVIEW_GENERAL.dataWebContentPage, pos);
} }
}; };
......
...@@ -654,7 +654,7 @@ HEADER.DoBackup = function(isBackupMarking, isBackupMemo, isBackupBookmark,isLog ...@@ -654,7 +654,7 @@ HEADER.DoBackup = function(isBackupMarking, isBackupMemo, isBackupBookmark,isLog
$('#divResultMessage .toast-item-loading').hide(); $('#divResultMessage .toast-item-loading').hide();
// active close toast button // active close toast button
$('.toast-item-close').click(function () { $().toastmessage('removeToast', $('#divResultMessage'), null) }); $('.toast-item-close').click(function () { $().toastmessage('removeToast', $('#divResultMessage'), null); });
if (isLogout) { if (isLogout) {
$('.toast-position-middle-center').css('width', '500px'); $('.toast-position-middle-center').css('width', '500px');
...@@ -1128,7 +1128,7 @@ HEADER.downloadResourceById = function(contentId){ ...@@ -1128,7 +1128,7 @@ HEADER.downloadResourceById = function(contentId){
if (HEADER.isSafariNotOnIpad()) { if (HEADER.isSafariNotOnIpad()) {
window.onbeforeunload = null; window.onbeforeunload = null;
window.open(resourceUrl, "_self"); // open url to download file on safari not for ipad window.open(resourceUrl, "_self"); // open url to download file on safari not for ipad
var toogleTime = setTimeout(function () { COMMON.ToogleLogoutNortice() }, 200); var toogleTime = setTimeout(function () { COMMON.ToogleLogoutNortice(); }, 200);
} }
else { else {
window.open(resourceUrl); //open url to download file on orther browser window.open(resourceUrl); //open url to download file on orther browser
......
...@@ -181,7 +181,7 @@ STVIEW.ready = function(){ ...@@ -181,7 +181,7 @@ STVIEW.ready = function(){
//ページ番号指定有り //ページ番号指定有り
if( page == "" || page == "0" || page == "1"){ if( page == "" || page == "0" || page == "1"){
ClientData.common_prePageNo(null) ClientData.common_prePageNo(null);
} else { } else {
ClientData.common_prePageNo(page); ClientData.common_prePageNo(page);
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* @since 1.4.3.2 & 1.4.3.3 & 1.4.3.4 * @since 1.4.3.2 & 1.4.3.3 & 1.4.3.4
*/ */
const CONSTANT = {}; var CONSTANT = {};
CONSTANT.DEVICE_TYPE = { CONSTANT.DEVICE_TYPE = {
WEB: 4, WEB: 4,
......
...@@ -92,7 +92,7 @@ agreementToTerms.agreeTerm = function(){ ...@@ -92,7 +92,7 @@ agreementToTerms.agreeTerm = function(){
COMMON.showAlert("errorOccured"); COMMON.showAlert("errorOccured");
} }
} }
) );
}; };
//利用規約に同意しない //利用規約に同意しない
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
COMMON.checkQuickReport(function(result) { COMMON.checkQuickReport(function(result) {
if (result) { if (result) {
RL.isQuickReport = result.isQuickReport; RL.isQuickReport = result.isQuickReport;
}; }
}); });
RL.loadCommon(); RL.loadCommon();
RL.initTaskReportList(); RL.initTaskReportList();
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_LIST, titleLang: CONSTANT.PAGE_NAME.REPORT_LIST,
}, },
] ];
} else { } else {
if (sessionStorage.getItem("pickUpType")) sessionStorage.removeItem("pickUpType"); if (sessionStorage.getItem("pickUpType")) sessionStorage.removeItem("pickUpType");
navs = [ navs = [
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_LIST, titleLang: CONSTANT.PAGE_NAME.REPORT_LIST,
}, },
] ];
} }
TEMPLATE.loadMainNavsTitle('#includedMainTitle', CONSTANT.PAGE_NAME.REPORT_LIST, navs, RL.loadMainTitleCallback); TEMPLATE.loadMainNavsTitle('#includedMainTitle', CONSTANT.PAGE_NAME.REPORT_LIST, navs, RL.loadMainTitleCallback);
}; };
......
...@@ -187,7 +187,7 @@ SETTINGS.initScreen = function () { ...@@ -187,7 +187,7 @@ SETTINGS.initScreen = function () {
{ {
titleLang: 'accountSetting', titleLang: 'accountSetting',
}, },
] ];
TEMPLATE.loadMainNavsTitle('#includedMainTitle', 'accountSetting', navs, null); TEMPLATE.loadMainNavsTitle('#includedMainTitle', 'accountSetting', navs, null);
// Login ID // Login ID
$('#txtLoginId').text(ClientData.userInfo_loginId_session()); $('#txtLoginId').text(ClientData.userInfo_loginId_session());
......
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