Commit b80957f4 by Vo Duc Thang

9/20 リリース

parent 0b1b7d46
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"Logout", "dspBkCancel":"Logout",
"txtSearchResult":"Result", "txtSearchResult":"Result",
"dspHome":"Home", "dspHome":"Home",
"txtLoginUser":"(Ver.20130918)User:", "txtLoginUser":"(Ver.20130920)User:",
"txtAll":"All", "txtAll":"All",
"txtMkgSize":"Size", "txtMkgSize":"Size",
"txtMkgS":"S", "txtMkgS":"S",
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"バックアップせずにログアウト", "dspBkCancel":"バックアップせずにログアウト",
"txtSearchResult":"検索結果", "txtSearchResult":"検索結果",
"dspHome":"ホーム", "dspHome":"ホーム",
"txtLoginUser":"(Ver.20130918)ログイン中:", "txtLoginUser":"(Ver.20130920)ログイン中:",
"txtAll":"すべて", "txtAll":"すべて",
"txtMkgSize":"太さ", "txtMkgSize":"太さ",
"txtMkgS":"小", "txtMkgS":"小",
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"로그아웃", "dspBkCancel":"로그아웃",
"txtSearchResult":"검색 결과", "txtSearchResult":"검색 결과",
"dspHome":"홈", "dspHome":"홈",
"txtLoginUser":"(Ver.20130918)로그인 중:", "txtLoginUser":"(Ver.20130920)로그인 중:",
"txtAll":"전체", "txtAll":"전체",
"txtMkgSize":"두께", "txtMkgSize":"두께",
"txtMkgS":"소", "txtMkgS":"소",
......
...@@ -150,7 +150,7 @@ a.delete:hover:not(:target) { ...@@ -150,7 +150,7 @@ a.delete:hover:not(:target) {
margin-right:5px; margin-right:5px;
} }
.cnt_section .text a.name:hover{ text-decoration:none; } .cnt_section .text a.name:hover{ text-decoration:none; }
.cnt_section .text ul.date{ margin-top: 0px; } .cnt_section .text ul.date{ margin-top: 0px; height:40px;}
.cnt_section .text ul.date li{ .cnt_section .text ul.date li{
} }
/*---*/ /*---*/
...@@ -161,7 +161,13 @@ a.delete:hover:not(:target) { ...@@ -161,7 +161,13 @@ a.delete:hover:not(:target) {
.cnt_section .text ul.pic{ .cnt_section .text ul.pic{
float: left; float: left;
margin-top: 20px; margin-top: 20px;
width:85%;
} }
.cnt_section .text ul.pic li.pageno
{
float:right;
}
.cnt_section .text ul.pic li{ .cnt_section .text ul.pic li{
float: left; float: left;
margin-left: 17px; margin-left: 17px;
......
...@@ -1680,3 +1680,7 @@ ul#divListBookmark li:hover{} ...@@ -1680,3 +1680,7 @@ ul#divListBookmark li:hover{}
right:20px; right:20px;
display:none display:none
} }
#powerTip{
z-index: 999 !important;
}
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
//var TotalThread = 0; //var TotalThread = 0;
var contentTypes = {};
var contentName = {};
var pathImgContentNone = './img/page-none.png';
// Init function of page // Init function of page
$(document).ready(function () { $(document).ready(function () {
...@@ -319,13 +323,15 @@ function ShowBookmark() { ...@@ -319,13 +323,15 @@ function ShowBookmark() {
} }
} }
} }
if (pageDetail) { if (pageDetail) {
// If bookmark does not exist // If bookmark does not exist
if (pageDetail.existed == true) { if (pageDetail.existed == true) {
// Show normal // Show normal
UpdateBookmark(contentid, pageDetail.pageNo, contentTitle, contentTitleKana); UpdateBookmark(contentid, pageDetail.pageNo, contentTitle, contentTitleKana);
insertRow(contentid, "data:image/jpeg;base64," + pageDetail.pageThumbnail, htmlEncode(contentTitle),
var pageThumbnail = (pageDetail.pageThumbnail != pathImgContentNone) ? ("data:image/jpeg;base64," + pageDetail.pageThumbnail) : pathImgContentNone;
insertRow(contentid, pageThumbnail, htmlEncode(contentTitle),
pageDetail.pageText, pageDetail.pageNo, hasMemo, hasMarking, nIndex, contentType); pageDetail.pageText, pageDetail.pageNo, hasMemo, hasMarking, nIndex, contentType);
} }
else { else {
...@@ -685,11 +691,11 @@ function insertRow(contentid, pageThumbnail, pageTitle, pageText, pageNo, hasMem ...@@ -685,11 +691,11 @@ function insertRow(contentid, pageThumbnail, pageTitle, pageText, pageNo, hasMem
newRow += '<a class="name" href="#">' + truncate(pageTitle, 20) + '</a>'; newRow += '<a class="name" href="#">' + truncate(pageTitle, 20) + '</a>';
newRow +='<div class="info">'; newRow +='<div class="info">';
newRow +='<ul class="date">'; newRow += '<ul class="date">';
var contentText = htmlEncode(getLines(pageText, 3)); var contentText = htmlEncode(getLines(pageText, 3));
newRow += '<li><label id="Label1">' + truncate(contentText, 70) + '</label></li>'; newRow += '<li><label id="Label1">' + truncate(contentText, 60) + '</label></li>';
// newRow +='<li>公開日:2012/09/14</li>'; // newRow +='<li>公開日:2012/09/14</li>';
// newRow += '<li>閲覧日:2012/09/18</li>'; // newRow += '<li>閲覧日:2012/09/18</li>';
...@@ -741,6 +747,10 @@ function insertRow(contentid, pageThumbnail, pageTitle, pageText, pageNo, hasMem ...@@ -741,6 +747,10 @@ function insertRow(contentid, pageThumbnail, pageTitle, pageText, pageNo, hasMem
newRow += '<li><a href="#">' + imgMarkingHide + '</a></li>'; newRow += '<li><a href="#">' + imgMarkingHide + '</a></li>';
} }
newRow += '<li class="pageno"><label id="Label2" class="lang" lang="txtPage">' + i18nText('txtPage') + '</label><label id="Label3">' + pageNo + '</label></li>';
//newRow +='<li><a href="#"><img class="sticker" src="img/list/icon_sticker.png"></a></li>'; //newRow +='<li><a href="#"><img class="sticker" src="img/list/icon_sticker.png"></a></li>';
//newRow +='<li><a href="#"><img class="pen" src="img/list/icon_pen.png"></a></li>'; //newRow +='<li><a href="#"><img class="pen" src="img/list/icon_pen.png"></a></li>';
...@@ -798,7 +808,6 @@ var collection_contents = []; ...@@ -798,7 +808,6 @@ var collection_contents = [];
Get all detail pages of content in bookmark Get all detail pages of content in bookmark
*/ */
function bookmark_collectAllPages() { function bookmark_collectAllPages() {
var arrBookMarks = ClientData.BookMarkData(); var arrBookMarks = ClientData.BookMarkData();
for (var nIndex = 0; nIndex < collection_contents.length; nIndex++) { for (var nIndex = 0; nIndex < collection_contents.length; nIndex++) {
...@@ -822,25 +831,45 @@ function bookmark_collectAllPages() { ...@@ -822,25 +831,45 @@ function bookmark_collectAllPages() {
avwCmsApiSync(ClientData.userInfo_accountPath(), "webContentPage", "GET", avwCmsApiSync(ClientData.userInfo_accountPath(), "webContentPage", "GET",
{ contentId: contentid, sid: ClientData.userInfo_sid(), pageNos: strPageNos, thumbnailFlg: 1 }, { contentId: contentid, sid: ClientData.userInfo_sid(), pageNos: strPageNos, thumbnailFlg: 1 },
function (data) { function (data) {
collection_contents[nIndex].contentTitle = data.contentTitle; collection_contents[nIndex].contentTitle = data.contentTitle;
collection_contents[nIndex].contentTitleKana = data.contentTitleKana; collection_contents[nIndex].contentTitleKana = data.contentTitleKana;
for (var nIndex2 = 0; nIndex2 < collection_contents[nIndex].pages.length; nIndex2++) { for (var nIndex2 = 0; nIndex2 < collection_contents[nIndex].pages.length; nIndex2++) {
var comparePageNo = collection_contents[nIndex].pages[nIndex2].pageNo; var comparePageNo = collection_contents[nIndex].pages[nIndex2].pageNo;
for (var nIndex3 = 0; nIndex3 < data.pages.length; nIndex3++) { for (var nIndex3 = 0; nIndex3 < data.pages.length; nIndex3++) {
if (comparePageNo == data.pages[nIndex2].pageNo) { if (data.pages[nIndex2] && comparePageNo == data.pages[nIndex2].pageNo) {
// Set flag to determine page existed // Set flag to determine page existed
collection_contents[nIndex].pages[nIndex2].existed = true; collection_contents[nIndex].pages[nIndex2].existed = true;
// Store detail of page // Store detail of page
collection_contents[nIndex].pages[nIndex2].pageText = data.pages[nIndex2].pageText; collection_contents[nIndex].pages[nIndex2].pageText = data.pages[nIndex2].pageText;
collection_contents[nIndex].pages[nIndex2].pageThumbnail = data.pages[nIndex2].pageThumbnail; collection_contents[nIndex].pages[nIndex2].pageThumbnail = data.pages[nIndex2].pageThumbnail;
} }
else if (contentTypes[contentid] == "none" && data.pages.length > 0) {
collection_contents[nIndex].pages[nIndex2].existed = true;
// Store detail of page
collection_contents[nIndex].pages[nIndex2].pageText = ''; //data.pages[0].pageText;
collection_contents[nIndex].pages[nIndex2].pageThumbnail = pathImgContentNone; //data.pages[nIndex2].pageThumbnail;
} }
} }
}
}, },
null function () { // when server response error
if (contentTypes[contentid] == "none") {
collection_contents[nIndex].contentTitle = contentName[contentid];
for (var nIndex2 = 0; nIndex2 < collection_contents[nIndex].pages.length; nIndex2++) {
collection_contents[nIndex].pages[nIndex2].existed = true;
collection_contents[nIndex].pages[nIndex2].pageThumbnail = pathImgContentNone;
collection_contents[nIndex].pages[nIndex2].pageText = '';
}
}
}
); );
} }
}; };
/* /*
...@@ -1011,6 +1040,9 @@ function IsExistContent(strContentId) { ...@@ -1011,6 +1040,9 @@ function IsExistContent(strContentId) {
result["isExisted"] = isExisted; result["isExisted"] = isExisted;
result["contentType"] = contentType; result["contentType"] = contentType;
// save content type
contentTypes[strContentId] = contentType;
contentName[strContentId] = data.contentData.contentName;
// save alert message level // save alert message level
messageLevel[strContentId] = { alertMessageLevel: data.contentData.alertMessageLevel, alertMessage: data.contentData.alertMessage }; messageLevel[strContentId] = { alertMessageLevel: data.contentData.alertMessageLevel, alertMessage: data.contentData.alertMessage };
......
...@@ -39,10 +39,10 @@ var contentTypeArr = []; ...@@ -39,10 +39,10 @@ var contentTypeArr = [];
var ThumbnailForOtherType = { var ThumbnailForOtherType = {
Thumbnail_ImageType : 'img/image_type.png', Thumbnail_ImageType : 'img/image_type.png',
Thumbnail_VideoType : 'img/iPad_video.png', Thumbnail_VideoType : 'img/iPad_video.png',
Thumbnail_MusicType : 'img/iPad_music.png', Thumbnail_MusicType : 'img/thumb_default_sound.png',
Thumbnail_OthersType : 'img/NoFile_Type.jpg', Thumbnail_OthersType : 'img/thumb_default_other.png',
Thumbnail_NoFileType : 'img/page-none.png', Thumbnail_NoFileType : 'img/thumb_default_none.png',
Thumbnail_HtmlType : 'img/htmltype.png' Thumbnail_HtmlType : 'img/thumb_default_html.png'
}; };
//End Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Create new Array for function No.12. //End Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Create new Array for function No.12.
var contentIdArray = []; var contentIdArray = [];
......
...@@ -1961,11 +1961,17 @@ function changePageWithoutSlide(pageMove) { ...@@ -1961,11 +1961,17 @@ function changePageWithoutSlide(pageMove) {
//Start FUnciton: No.4 - Editor : Long - Date : 08/12/2013 - Summary : Handle jump from bookmark page //Start FUnciton: No.4 - Editor : Long - Date : 08/12/2013 - Summary : Handle jump from bookmark page
if(pageMove > 0){ if(pageMove > 0){
//START TRB00056 - Editor: Long - Date: 09/19/2013 - Summary :
prevContent.pageIndex = getPageIndex();
//END TRB00056 - Editor: Long - Date: 09/19/2013 - Summary :
getPrevPageObjectsByPageIndex(pageObjectsData, pageMove - 1); getPrevPageObjectsByPageIndex(pageObjectsData, pageMove - 1);
renderPrevPage(); renderPrevPage();
} }
if(pageMove < totalPage - 1){ if(pageMove < totalPage - 1){
//START TRB00056
nextContent.pageIndex = getPageIndex();
//END TRB00056
getNextPageObjectsByPageIndex(pageObjectsData, pageMove + 1); getNextPageObjectsByPageIndex(pageObjectsData, pageMove + 1);
renderNextPage(); renderNextPage();
} }
...@@ -2008,11 +2014,20 @@ function changePageWithoutSlide(pageMove) { ...@@ -2008,11 +2014,20 @@ function changePageWithoutSlide(pageMove) {
//Start FUnciton: No.4 - Editor : Long - Date : 08/12/2013 - Summary : Handle jump from bookmark page //Start FUnciton: No.4 - Editor : Long - Date : 08/12/2013 - Summary : Handle jump from bookmark page
if(pageMove > 0){ if(pageMove > 0){
//START TRB00056 - Editor: Long - Date: 09/19/2013 - Summary :
prevContent.pageIndex = getPageIndex();
//END TRB00056 - Editor: Long - Date: 09/19/2013 - Summary :
getPrevPageObjectsByPageIndex(pageObjectsData, pageMove - 1); getPrevPageObjectsByPageIndex(pageObjectsData, pageMove - 1);
renderPrevPage(); renderPrevPage();
} }
if(pageMove < totalPage - 1){ if(pageMove < totalPage - 1){
//START TRB00056
nextContent.pageIndex = getPageIndex();
//END TRB00056
getNextPageObjectsByPageIndex(pageObjectsData, pageMove + 1); getNextPageObjectsByPageIndex(pageObjectsData, pageMove + 1);
renderNextPage(); renderNextPage();
} }
...@@ -2088,6 +2103,16 @@ function handleForContentTypeVideo(resourceUrl){ ...@@ -2088,6 +2103,16 @@ function handleForContentTypeVideo(resourceUrl){
$container.html(''); $container.html('');
if (ClientData.userOpt_musicMode() == "1") {
$container.html(
'<h1>'
+ '</h1>'
+ '<video loop="true" controls style="position: absolute; width: 100%; height: 90%; bottom: 1% ">'
+ ' <source src="' + resourceUrl + '" type="video/mp4"> '
+ '</video>'
);
}
else {
$container.html( $container.html(
'<h1>' '<h1>'
+ '</h1>' + '</h1>'
...@@ -2095,6 +2120,8 @@ function handleForContentTypeVideo(resourceUrl){ ...@@ -2095,6 +2120,8 @@ function handleForContentTypeVideo(resourceUrl){
+ ' <source src="' + resourceUrl + '" type="video/mp4"> ' + ' <source src="' + resourceUrl + '" type="video/mp4"> '
+ '</video>' + '</video>'
); );
}
$container.show(); $container.show();
}; };
...@@ -2109,6 +2136,18 @@ function handleForContentTypeMusic(resourceUrl){ ...@@ -2109,6 +2136,18 @@ function handleForContentTypeMusic(resourceUrl){
$container.css('background', 'url(./img/iPad_music.png) center center no-repeat'); $container.css('background', 'url(./img/iPad_music.png) center center no-repeat');
$container.css('background-color', 'white'); $container.css('background-color', 'white');
//$container.css('background-attachment', 'fixed'); //$container.css('background-attachment', 'fixed');
if (ClientData.userOpt_musicMode() == "1") {
$container.html(
'<h1>'
+ '</h1>'
+ '<audio loop="true" controls style="position: absolute; width: 100%; bottom: 1%;">'
+ ' <source src="' + resourceUrl + '" type="audio/mpeg"> '
+ '</audio>'
);
}
else {
$container.html( $container.html(
'<h1>' '<h1>'
+ '</h1>' + '</h1>'
...@@ -2116,6 +2155,7 @@ function handleForContentTypeMusic(resourceUrl){ ...@@ -2116,6 +2155,7 @@ function handleForContentTypeMusic(resourceUrl){
+ ' <source src="' + resourceUrl + '" type="audio/mpeg"> ' + ' <source src="' + resourceUrl + '" type="audio/mpeg"> '
+ '</audio>' + '</audio>'
); );
}
if(avwUserEnvObj.browser == 'firefox'){ if(avwUserEnvObj.browser == 'firefox'){
$container.find('audio').css('height', '30px'); $container.find('audio').css('height', '30px');
...@@ -2376,6 +2416,10 @@ $("document").ready(function () { ...@@ -2376,6 +2416,10 @@ $("document").ready(function () {
//Check if is pdf content //Check if is pdf content
if(isMediaAndHTMLContent()){ if(isMediaAndHTMLContent()){
initPageMediaAndHtmlType(); initPageMediaAndHtmlType();
//START TRB00059 - EDITOR: Long - Date : 09/19/2013 - Summary : Add title for media and html type
document.title = data.contentData.contentName + ' | ' + i18nText('sysAppTitle');
//END TRB00059 - EDITOR: Long - Date : 09/19/2013 - Summary : Add title for media and html type
} }
else{ else{
initPage(); initPage();
...@@ -2391,6 +2435,10 @@ $("document").ready(function () { ...@@ -2391,6 +2435,10 @@ $("document").ready(function () {
//Check if is pdf content //Check if is pdf content
if(isMediaAndHTMLContent()){ if(isMediaAndHTMLContent()){
initPageMediaAndHtmlType(); initPageMediaAndHtmlType();
//START TRB00059 - EDITOR: Long - Date : 09/19/2013 - Summary : Add title for media and html type
document.title = data.contentData.contentName + ' | ' + i18nText('sysAppTitle');
//END TRB00059 - EDITOR: Long - Date : 09/19/2013 - Summary : Add title for media and html type
} }
else{ else{
initPage(); initPage();
...@@ -2916,6 +2964,7 @@ ContentPage.prototype.drawPage = function (context, opt) { ...@@ -2916,6 +2964,7 @@ ContentPage.prototype.drawPage = function (context, opt) {
/* set pos video */ /* set pos video */
zoomVideo(); zoomVideo();
} }
} }
} }
} }
......
...@@ -216,6 +216,14 @@ PageObject.prototype.drawPageObject = function (context, opt) { ...@@ -216,6 +216,14 @@ PageObject.prototype.drawPageObject = function (context, opt) {
var y = this.y; var y = this.y;
var w = this.width; var w = this.width;
var h = this.height; var h = this.height;
var tempUrl = this.imageUrl;
var isUsedTempImg = false;
//START TRB00046 - Editor : Long - Date: 09/19/2013 - Summary : Fix for draw video object at center
if(mediaType == '6' && tempUrl == 'img/iPad_video.png'){
isUsedTempImg = true;
}
//END TRB00046 - Editor : Long - Date: 09/19/2013 - Summary : Fix for draw video object at center
if (mediaType == '5') { if (mediaType == '5') {
nCountObjectLoad++; nCountObjectLoad++;
...@@ -233,6 +241,7 @@ PageObject.prototype.drawPageObject = function (context, opt) { ...@@ -233,6 +241,7 @@ PageObject.prototype.drawPageObject = function (context, opt) {
img.onload = function () { img.onload = function () {
nCountObjectLoad++; nCountObjectLoad++;
/* create object store value image */ /* create object store value image */
var objTemp = []; var objTemp = [];
objTemp.mediaType = mediaType; objTemp.mediaType = mediaType;
...@@ -262,7 +271,8 @@ PageObject.prototype.drawPageObject = function (context, opt) { ...@@ -262,7 +271,8 @@ PageObject.prototype.drawPageObject = function (context, opt) {
} }
} }
} else if (mediaType == '3') {/* audio */ }
else if (mediaType == '3') {/* audio */
img.width = 50; img.width = 50;
img.height = 50; img.height = 50;
...@@ -270,7 +280,19 @@ PageObject.prototype.drawPageObject = function (context, opt) { ...@@ -270,7 +280,19 @@ PageObject.prototype.drawPageObject = function (context, opt) {
context.drawImage(img, x + (w/2 - img.width/2), y + (h/2 - img.height/ 2), img.width, img.height); context.drawImage(img, x + (w/2 - img.width/2), y + (h/2 - img.height/ 2), img.width, img.height);
//END TRB00035 - Editor : Long - Date: 09/17/2013 - Summary : Fix for draw audio object at center //END TRB00035 - Editor : Long - Date: 09/17/2013 - Summary : Fix for draw audio object at center
} else { }
else if(mediaType == '6' && isUsedTempImg){
img.width = 50;
img.height = 50;
//START TRB00046 - Editor : Long - Date: 09/19/2013 - Summary : Fix for draw video object at center
context.drawImage(img, x + (w/2 - img.width/2), y + (h/2 - img.height/ 2), img.width, img.height);
isUsedTempImg = false;
//END TRB00046 - Editor : Long - Date: 09/19/2013 - Summary : Fix for draw video object at center
}
else {
context.drawImage(img, x, y, w, h); context.drawImage(img, x, y, w, h);
} }
...@@ -417,7 +439,6 @@ PageObject.prototype.drawPageObject = function (context, opt) { ...@@ -417,7 +439,6 @@ PageObject.prototype.drawPageObject = function (context, opt) {
$('#divImageLoading').css('display', 'none'); $('#divImageLoading').css('display', 'none');
} }
//End Func //End Func
/* set pos video */ /* set pos video */
zoomVideo(); zoomVideo();
} }
...@@ -1616,7 +1637,8 @@ function createAudio(audio, type) { ...@@ -1616,7 +1637,8 @@ function createAudio(audio, type) {
document.getElementById("play_audio_0").play(); document.getElementById("play_audio_0").play();
} }
} else if (type == "1") { /* play all page */ }
else if (type == "1") { /* play all page */
if (document.getElementById("play_audio_1") != undefined) { if (document.getElementById("play_audio_1") != undefined) {
if (ClientData.userOpt_musicMode() == "1") { if (ClientData.userOpt_musicMode() == "1") {
......
...@@ -90,6 +90,9 @@ function MemoDelFunction(){ ...@@ -90,6 +90,9 @@ function MemoDelFunction(){
/* draw again */ /* draw again */
drawCanvas(); drawCanvas();
//START TRB00054 - EDITOR : Long - Date : 09/19/2013 - Summary : Fix for remove loading icon when del memo
drawCanvas(1);
//END TRB00054 - EDITOR : Long - Date : 09/19/2013 - Summary : Fix for remove loading icon when del memo
/* enable controls after finish copy */ /* enable controls after finish copy */
enableControlsCopyMemo(); enableControlsCopyMemo();
......
...@@ -890,11 +890,13 @@ function getDateCreatePushMessage(data) { ...@@ -890,11 +890,13 @@ function getDateCreatePushMessage(data) {
function showListPushMessage(data) function showListPushMessage(data)
{ {
$('#show-push-message').html(''); $('#show-push-message').html('');
for (var i = 0; i < data.messageList.length && i <= (data.recordTo - data.recordFrom); i++) { for (var i = 0; i < data.messageList.length && i <= (data.recordTo - data.recordFrom); i++)
{
var titleMessage = truncate(data.messageList[i].messageDetail, 30).replace(/</g, '&lt;').replace(/>/g, '&gt;');
var detailMessage = data.messageList[i].messageDetail.replace(/\n/g, '<br/>').replace(/</g, '&lt;').replace(/>/g, '&gt;');
var message = '<div class="newmsg">'; var message = '<div class="newmsg">';
message += '<h5 class="postItem"><a href="#">' + truncate(data.messageList[i].messageDetail, 30) + '</a></h5>'; message += '<h5 class="postItem"><a href="#">' + titleMessage + '</a></h5>';
message += '<p>' + data.messageList[i].messageDetail.replace(/\n/g, '<br/>') + '<span class="date">' +getDateCreatePushMessage(data.messageList[i].messageSendDate)+ '</span></p></div>'; message += '<p>' + detailMessage + '<span class="date">' + getDateCreatePushMessage(data.messageList[i].messageSendDate) + '</span></p></div>';
$('#show-push-message').append(message); $('#show-push-message').append(message);
} }
......
...@@ -42,10 +42,10 @@ var contentTypeArr = []; ...@@ -42,10 +42,10 @@ var contentTypeArr = [];
var ThumbnailForOtherType = { var ThumbnailForOtherType = {
Thumbnail_ImageType : 'img/image_type.png', Thumbnail_ImageType : 'img/image_type.png',
Thumbnail_VideoType : 'img/iPad_video.png', Thumbnail_VideoType : 'img/iPad_video.png',
Thumbnail_MusicType : 'img/iPad_music.png', Thumbnail_MusicType : 'img/thumb_default_sound.png',
Thumbnail_OthersType : 'img/NoFile_Type.jpg', Thumbnail_OthersType : 'img/thumb_default_other.png',
Thumbnail_NoFileType : 'img/page-none.png', Thumbnail_NoFileType : 'img/thumb_default_none.png',
Thumbnail_HtmlType : 'img/htmltype.png' Thumbnail_HtmlType : 'img/thumb_default_html.png'
}; };
//End Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Create new Array for function No.12. //End Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Create new Array for function No.12.
var contentIdArray = []; var contentIdArray = [];
......
...@@ -40,10 +40,10 @@ var contentTypeArr = []; ...@@ -40,10 +40,10 @@ var contentTypeArr = [];
var ThumbnailForOtherType = { var ThumbnailForOtherType = {
Thumbnail_ImageType : 'img/image_type.png', Thumbnail_ImageType : 'img/image_type.png',
Thumbnail_VideoType : 'img/iPad_video.png', Thumbnail_VideoType : 'img/iPad_video.png',
Thumbnail_MusicType : 'img/iPad_music.png', Thumbnail_MusicType : 'img/thumb_default_sound.png',
Thumbnail_OthersType : 'img/NoFile_Type.jpg', Thumbnail_OthersType : 'img/thumb_default_other.png',
Thumbnail_NoFileType : 'img/page-none.png', Thumbnail_NoFileType : 'img/thumb_default_none.png',
Thumbnail_HtmlType : 'img/htmltype.png' Thumbnail_HtmlType : 'img/thumb_default_html.png'
}; };
//End Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Create new Array for function No.12. //End Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Create new Array for function No.12.
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<script src="./js/settings.js" type="text/javascript"></script> <script src="./js/settings.js" type="text/javascript"></script>
<style> <style>
html{ #slidebar-animation{
-ms-touch-action : none; -ms-touch-action : none;
} }
</style> </style>
......
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