Commit 98c1fc44 by Masaru Abe

JSの暗号化でエラー対策

parent 9ad5847c
...@@ -20,7 +20,7 @@ COMMON.ThumbnailForOtherType = { ...@@ -20,7 +20,7 @@ COMMON.ThumbnailForOtherType = {
Thumbnail_OthersType : 'img/thumb_default_other.png', Thumbnail_OthersType : 'img/thumb_default_other.png',
Thumbnail_NoFileType : 'img/thumb_default_none.png', Thumbnail_NoFileType : 'img/thumb_default_none.png',
Thumbnail_HtmlType : 'img/thumb_default_html.png', Thumbnail_HtmlType : 'img/thumb_default_html.png',
Thumbnail_LinkType : 'img/thumb_default_link.png', Thumbnail_LinkType : 'img/thumb_default_link.png'
}; };
......
...@@ -166,7 +166,7 @@ THICKBOX._imageLoaded = function(){ ...@@ -166,7 +166,7 @@ THICKBOX._imageLoaded = function(){
$('#TB_window',doc).show(); $('#TB_window',doc).show();
//$("#TB_iframeContent",doc).attr("src",THICKBOX.linkPage); //$("#TB_iframeContent",doc).attr("src",THICKBOX.linkPage);
} };
//add thickbox to href & area elements that have a class of .thickbox //add thickbox to href & area elements that have a class of .thickbox
...@@ -179,7 +179,7 @@ THICKBOX.tb_init = function(domChunk){ ...@@ -179,7 +179,7 @@ THICKBOX.tb_init = function(domChunk){
this.blur(); this.blur();
return false; return false;
}); });
} };
THICKBOX.tb_show = function(caption, url, imageGroup) {//function called when the user clicks on a thickbox link THICKBOX.tb_show = function(caption, url, imageGroup) {//function called when the user clicks on a thickbox link
...@@ -472,7 +472,7 @@ THICKBOX.tb_show = function(caption, url, imageGroup) {//function called when th ...@@ -472,7 +472,7 @@ THICKBOX.tb_show = function(caption, url, imageGroup) {//function called when th
} catch(e) { } catch(e) {
//nothing here //nothing here
} }
} };
//helper functions below //helper functions below
THICKBOX.tb_showIframe = function(){ THICKBOX.tb_showIframe = function(){
...@@ -480,7 +480,7 @@ THICKBOX.tb_showIframe = function(){ ...@@ -480,7 +480,7 @@ THICKBOX.tb_showIframe = function(){
$("#TB_load").hide(); $("#TB_load").hide();
$("#TB_window").css({visibility:"visible",display:"block"}); $("#TB_window").css({visibility:"visible",display:"block"});
} };
THICKBOX.tb_remove = function() { THICKBOX.tb_remove = function() {
$("#TB_imageOff").unbind("click"); $("#TB_imageOff").unbind("click");
...@@ -496,14 +496,14 @@ THICKBOX.tb_remove = function() { ...@@ -496,14 +496,14 @@ THICKBOX.tb_remove = function() {
document.onkeydown = ""; document.onkeydown = "";
document.onkeyup = ""; document.onkeyup = "";
return false; return false;
} };
THICKBOX.tb_position = function() { THICKBOX.tb_position = function() {
$("#TB_window").css({marginLeft: '-' + parseInt((THICKBOX.TB_WIDTH / 2),10) + 'px', width: THICKBOX.TB_WIDTH + 'px'}); $("#TB_window").css({marginLeft: '-' + parseInt((THICKBOX.TB_WIDTH / 2),10) + 'px', width: THICKBOX.TB_WIDTH + 'px'});
//if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6 //if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6
// $("#TB_window").css({marginTop: '-' + parseInt((THICKBOX.TB_HEIGHT / 2),10) + 'px'}); // $("#TB_window").css({marginTop: '-' + parseInt((THICKBOX.TB_HEIGHT / 2),10) + 'px'});
//} //}
} };
THICKBOX.tb_parseQuery = function( query ) { THICKBOX.tb_parseQuery = function( query ) {
var Params = {}; var Params = {};
...@@ -518,7 +518,7 @@ THICKBOX.tb_parseQuery = function( query ) { ...@@ -518,7 +518,7 @@ THICKBOX.tb_parseQuery = function( query ) {
Params[key] = val; Params[key] = val;
} }
return Params; return Params;
} };
THICKBOX.tb_getPageSize = function(){ THICKBOX.tb_getPageSize = function(){
var de = document.documentElement; var de = document.documentElement;
...@@ -526,14 +526,14 @@ THICKBOX.tb_getPageSize = function(){ ...@@ -526,14 +526,14 @@ THICKBOX.tb_getPageSize = function(){
var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight;
arrayPageSize = [w,h]; arrayPageSize = [w,h];
return arrayPageSize; return arrayPageSize;
} };
THICKBOX.tb_detectMacXFF = function() { THICKBOX.tb_detectMacXFF = function() {
var userAgent = navigator.userAgent.toLowerCase(); var userAgent = navigator.userAgent.toLowerCase();
if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) {
return true; return true;
} }
} };
THICKBOX.showLoading = function(){ THICKBOX.showLoading = function(){
var doc = window.document; var doc = window.document;
...@@ -558,5 +558,5 @@ THICKBOX.showLoading = function(){ ...@@ -558,5 +558,5 @@ THICKBOX.showLoading = function(){
//$("#TB_load").css("top", + offsetTop + pageTop + "px") //$("#TB_load").css("top", + offsetTop + pageTop + "px")
$("#TB_load",doc).show(); $("#TB_load",doc).show();
} };
...@@ -220,7 +220,7 @@ $(document).ready(function () { ...@@ -220,7 +220,7 @@ $(document).ready(function () {
//日比谷カスタム ここから //日比谷カスタム ここから
HOME.dspHibiyaClickFunction = function(){ HOME.dspHibiyaClickFunction = function(){
$( '#dlgAddMemberGroup' ).dialog( 'open' ); $( '#dlgAddMemberGroup' ).dialog( 'open' );
} };
HOME.btnAddMemberGroupSearchClickFunction = function(){ HOME.btnAddMemberGroupSearchClickFunction = function(){
var addGroupName = $('#txtAddMemberGroupName').val(); var addGroupName = $('#txtAddMemberGroupName').val();
...@@ -273,7 +273,7 @@ HOME.btnAddMemberGroupSearchClickFunction = function(){ ...@@ -273,7 +273,7 @@ HOME.btnAddMemberGroupSearchClickFunction = function(){
HOME.renderContent(id, searchText, searchDivision, sortType, sortOrder, recordFrom, recordTo, genreId, groupId); HOME.renderContent(id, searchText, searchDivision, sortType, sortOrder, recordFrom, recordTo, genreId, groupId);
} };
HOME.getAddMemberGroupId = function(strGroupName) { HOME.getAddMemberGroupId = function(strGroupName) {
...@@ -305,7 +305,7 @@ HOME.startTimerCloseMenu = function() { ...@@ -305,7 +305,7 @@ HOME.startTimerCloseMenu = function() {
if (HOME.allowTimerCloseSubMenu == true) { if (HOME.allowTimerCloseSubMenu == true) {
$('#dlgSubMenu').hide(); $('#dlgSubMenu').hide();
} }
} };
HOME.subMenuHoverFunction = function() { HOME.subMenuHoverFunction = function() {
HOME.isSubMenuHoverOn = true; HOME.isSubMenuHoverOn = true;
......
...@@ -485,7 +485,6 @@ LOGIN.saveServiceUserOption = function(){ ...@@ -485,7 +485,6 @@ LOGIN.saveServiceUserOption = function(){
else if( option.serviceName == 'reader_readinglog_object' ) { else if( option.serviceName == 'reader_readinglog_object' ) {
ClientData.serviceOpt_reader_readinglog_object(option.value); ClientData.serviceOpt_reader_readinglog_object(option.value);
} }
else if( option.serviceName == 'daihatsu' ) { else if( option.serviceName == 'daihatsu' ) {
ClientData.serviceOpt_daihatsu(option.value); ClientData.serviceOpt_daihatsu(option.value);
} }
......
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