Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
7b2b1007
Commit
7b2b1007
authored
Feb 12, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
最終ページでメモを削除すると固まる問題
parent
76bb39ee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
+16
-7
abvw/js/contentview.js
+9
-4
abvw/js/contentview_CreateObjects.js
+0
-1
abvw/js/contentview_Events.js
+2
-0
abvw/js/contentview_Memo.js
+5
-2
No files found.
abvw/js/contentview.js
View file @
7b2b1007
...
@@ -247,7 +247,12 @@ CONTENTVIEW.changePageIndex = function(page_index) {
...
@@ -247,7 +247,12 @@ CONTENTVIEW.changePageIndex = function(page_index) {
}
}
//End: Function No.12
//End: Function No.12
else
{
else
{
return
CONTENTVIEW_GENERAL
.
dataWebContentPage
.
pages
[
page_index
].
pageNo
;
//最後のページのメモを削除するとエラーになる暫定対応
if
(
CONTENTVIEW_GENERAL
.
dataWebContentPage
.
pages
[
page_index
]
){
return
CONTENTVIEW_GENERAL
.
dataWebContentPage
.
pages
[
page_index
].
pageNo
;
}
else
{
return
page_index
-
1
;
}
}
}
};
};
...
@@ -3418,7 +3423,6 @@ CONTENTVIEW.ContentPage.prototype.findById = function (id) {
...
@@ -3418,7 +3423,6 @@ CONTENTVIEW.ContentPage.prototype.findById = function (id) {
/* check status button move page when change page */
/* check status button move page when change page */
CONTENTVIEW
.
checkExistNextPrePage
=
function
()
{
CONTENTVIEW
.
checkExistNextPrePage
=
function
()
{
//check next page
//check next page
if
(
CONTENTVIEW_GETDATA
.
getContent
().
hasNextPage
())
{
if
(
CONTENTVIEW_GETDATA
.
getContent
().
hasNextPage
())
{
//$('#nextpage').show();
//$('#nextpage').show();
//COMMON.enable('#nextpage');
//COMMON.enable('#nextpage');
...
@@ -3508,7 +3512,7 @@ CONTENTVIEW.checkExistNextPrePage = function() {
...
@@ -3508,7 +3512,7 @@ CONTENTVIEW.checkExistNextPrePage = function() {
$
(
'#button_pre_canvas'
).
css
(
'opacity'
,
'0'
);
$
(
'#button_pre_canvas'
).
css
(
'opacity'
,
'0'
);
}
}
};
};
...
@@ -3772,8 +3776,9 @@ CONTENTVIEW.disableControlsCopyMemo = function() {
...
@@ -3772,8 +3776,9 @@ CONTENTVIEW.disableControlsCopyMemo = function() {
/*enable all control when finish copy memo */
/*enable all control when finish copy memo */
CONTENTVIEW
.
enableControlsCopyMemo
=
function
()
{
CONTENTVIEW
.
enableControlsCopyMemo
=
function
()
{
CONTENTVIEW
.
disableControlsCopyMemo
();
CONTENTVIEW
.
disableControlsCopyMemo
();
/* set cursor pointer*/
/* set cursor pointer*/
$
(
"#imgHome"
).
css
(
'cursor'
,
'pointer'
);
$
(
"#imgHome"
).
css
(
'cursor'
,
'pointer'
);
$
(
"#imgBack"
).
css
(
'cursor'
,
'pointer'
);
$
(
"#imgBack"
).
css
(
'cursor'
,
'pointer'
);
...
...
abvw/js/contentview_CreateObjects.js
View file @
7b2b1007
...
@@ -2030,7 +2030,6 @@ CONTENTVIEW_CREATEOBJECT.Content.prototype.setUpPage = function (pageIndex, opt)
...
@@ -2030,7 +2030,6 @@ CONTENTVIEW_CREATEOBJECT.Content.prototype.setUpPage = function (pageIndex, opt)
/* check next page exists */
/* check next page exists */
CONTENTVIEW_CREATEOBJECT
.
Content
.
prototype
.
hasNextPage
=
function
()
{
CONTENTVIEW_CREATEOBJECT
.
Content
.
prototype
.
hasNextPage
=
function
()
{
if
((
this
.
pageIndex
+
1
)
>
(
this
.
pageCount
-
1
))
{
if
((
this
.
pageIndex
+
1
)
>
(
this
.
pageCount
-
1
))
{
return
false
;
return
false
;
}
}
...
...
abvw/js/contentview_Events.js
View file @
7b2b1007
...
@@ -838,6 +838,8 @@ CONTENTVIEW_EVENTS.onUnlock = function() {
...
@@ -838,6 +838,8 @@ CONTENTVIEW_EVENTS.onUnlock = function() {
CONTENTVIEW_EVENTS
.
onClick_CanvasMain
=
function
(
event
)
{
CONTENTVIEW_EVENTS
.
onClick_CanvasMain
=
function
(
event
)
{
//console.log("CONTENTVIEW_EVENTS.onClick_CanvasMain");
event
.
preventDefault
();
event
.
preventDefault
();
if
(
CONTENTVIEW_GENERAL
.
isLoadingObject
){
if
(
CONTENTVIEW_GENERAL
.
isLoadingObject
){
...
...
abvw/js/contentview_Memo.js
View file @
7b2b1007
...
@@ -93,15 +93,17 @@ CONTENTVIEW_MEMO.MemoDelFunction = function(){
...
@@ -93,15 +93,17 @@ CONTENTVIEW_MEMO.MemoDelFunction = function(){
CONTENTVIEW_GENERAL
.
isCopyMemo
=
false
;
CONTENTVIEW_GENERAL
.
isCopyMemo
=
false
;
}
}
else
{
else
{
var
resultArr
=
ClientData
.
MemoData
();
var
resultArr
=
ClientData
.
MemoData
();
resultArr
.
splice
(
CONTENTVIEW_MEMO
.
EditIndex
,
1
);
resultArr
.
splice
(
CONTENTVIEW_MEMO
.
EditIndex
,
1
);
ClientData
.
MemoData
(
resultArr
);
ClientData
.
MemoData
(
resultArr
);
//CONTENTVIEW_MEMO.targetDiv.dialog('close');
//CONTENTVIEW_MEMO.targetDiv.dialog('close');
if
(
CONTENTVIEW_MEMO
.
memoCallbackFunc
){
if
(
CONTENTVIEW_MEMO
.
memoCallbackFunc
){
CONTENTVIEW_MEMO
.
memoCallbackFunc
();
CONTENTVIEW_MEMO
.
memoCallbackFunc
();
}
}
}
}
$
(
"#overlay"
).
hide
();
$
(
"#overlay"
).
hide
();
CONTENTVIEW_MEMO
.
targetDiv
.
children
().
remove
();
CONTENTVIEW_MEMO
.
targetDiv
.
children
().
remove
();
...
@@ -116,7 +118,8 @@ CONTENTVIEW_MEMO.MemoDelFunction = function(){
...
@@ -116,7 +118,8 @@ CONTENTVIEW_MEMO.MemoDelFunction = function(){
//END TRB00054 - EDITOR : Long - Date : 09/19/2013 - Summary : Fix for remove loading icon when del memo
//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 */
CONTENTVIEW
.
enableControlsCopyMemo
();
CONTENTVIEW
.
enableControlsCopyMemo
();
};
};
CONTENTVIEW_MEMO
.
MemoCancelFunction
=
function
(){
CONTENTVIEW_MEMO
.
MemoCancelFunction
=
function
(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment