Commit ad7967e6 by Masaru Abe

ダイハツ対応

parent 04f07fde
......@@ -612,9 +612,19 @@ function canvasClickFunction(e){
//Re-render page from and total record
function reRenderPageNumber(dispRecord, dispTotal){
$('#dispPage').html(dispRecord);
$('#totalPage').html(dispTotal);
$('.pageNumControl').css('visibility','visible');
if( dispTotal ){
$('#dispPage').html(dispRecord);
$('#totalPage').html(dispTotal);
$('#dispPage').css('visibility','visible');
$('#totalPage').css('visibility','visible');
$('.pageNumControl').css('visibility','visible');
} else {
$('#dispPage').css('visibility','hidden');
$('#totalPage').css('visibility','hidden');
$('.pageNumControl').css('visibility','hidden');
}
};
//Show Next Record Function
......
......@@ -70,6 +70,7 @@ $(document).ready(function () {
$('#li-login-username').show();
//Display user name
$('#login-username').text(ClientData.userInfo_userName());
$('#login-username').attr("title", ClientData.userInfo_userName());
}
$('#dlgConfirmBackup-backup').click(confirmWithBackupFunction);
......
......@@ -445,9 +445,19 @@ function canvasClickFunction(e){
//Re-render page from and total record
function reRenderPageNumber(dispRecord, dispTotal){
$('#dispPage').html(contentViewData.length);
$('#totalPage').html(contentViewData.length);
$('.pageNumControl').css('visibility','visible');
if( contentViewData.length ){
$('#dispPage').html(contentViewData.length);
$('#totalPage').html(contentViewData.length);
$('#dispPage').css('visibility','visible');
$('#totalPage').css('visibility','visible');
$('.pageNumControl').css('visibility','visible');
} else {
$('#dispPage').css('visibility','hidden');
$('#totalPage').css('visibility','hidden');
$('.pageNumControl').css('visibility','hidden');
}
};
//Sort By Title Function
......
......@@ -1321,9 +1321,19 @@ function AddGroup_Callback(selectedNode) {
//Re-render page from and total record
function reRenderPageNumber(dispRecord, dispTotal) {
$('#dispPage').html(dispRecord);
$('#totalPage').html(dispTotal);
$('.pageNumControl').css('visibility', 'visible');
if( dispTotal ){
$('#dispPage').html(dispRecord);
$('#totalPage').html(dispTotal);
$('#dispPage').css('visibility','visible');
$('#totalPage').css('visibility','visible');
$('.pageNumControl').css('visibility','visible');
} else {
$('#dispPage').css('visibility','hidden');
$('#totalPage').css('visibility','hidden');
$('.pageNumControl').css('visibility','hidden');
}
};
//Call API
......
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