Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_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_android
abook_check
Commits
d20f94a9
Commit
d20f94a9
authored
May 18, 2021
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #41596 OZの報告入力フォームで☓をタップした際の動作がおかしい
2回目の修正で、HTML側に閉じるJavascript呼ぶ
parent
3fd5430d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
4 deletions
+27
-4
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
+2
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
+15
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/CheckOZDViewActivity.java
+2
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
+8
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
View file @
d20f94a9
...
...
@@ -1310,7 +1310,8 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
@Override
public
void
run
()
{
// 実行Javascript - 閉じる
ActivityHandlingHelper
.
getInstance
().
callOzdHtmlScript
(
"javascript:CHK.cancelOzReport()"
);
ActivityHandlingHelper
.
getInstance
().
callOzdHtmlScript
(
"javascript:CHK.afterABookCheckApi('"
+
ABookKeys
.
CMD_CANCEL_TASK_REPORT
+
"', '', '0', '')"
);
ActivityHandlingHelper
.
getInstance
().
reloadPdfTaskIcon
(
mTaskKey
);
Logger
.
d
(
TAG
,
"ozdCancelProcess"
);
}
});
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
View file @
d20f94a9
...
...
@@ -1955,4 +1955,19 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
}
}
}
/**
* 図面タイプのみ利用
* OZ画面閉じた後、タスクアイコンの再描画
* @param taskKey
*/
public
void
reloadPdfTaskIcon
(
String
taskKey
)
{
if
(!
currentActivityStack
.
isEmpty
())
{
for
(
final
ABVAuthenticatedActivity
activity
:
currentActivityStack
)
{
if
(
activity
instanceof
ContentViewActivity
)
{
((
ContentViewActivity
)
activity
).
reloadPdfTaskIcon
(
taskKey
);
}
}
}
}
}
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/CheckOZDViewActivity.java
View file @
d20f94a9
...
...
@@ -182,10 +182,9 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
@Override
public
void
onClick
(
View
v
)
{
mButtonStatus
=
R
.
id
.
btn_close
;
// HTML側の分岐処理を行うため変数に値を渡す
//#41596 Zの報告入力フォームで☓をタップした際の動作がおかしい
//Javascript呼ばないようにし、連続作業と関係なく閉じる処理追加
//#41596 OZの報告入力フォームで☓をタップした際の動作がおかしい
finishActivity
();
// doProcess(); // HTML側の
処理を行う
doProcess
();
// HTML側に閉じる
処理を行う
// if (mProcessKey != null && mPhaseNo != 0) { //連続作業用のOZView画面非表示
// finishActivity();
// }
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
View file @
d20f94a9
...
...
@@ -5407,5 +5407,13 @@ public class ContentViewActivity extends ABVContentViewActivity {
mPageScrollView
.
setZoomingFlag
(
false
);
}
}
/**
* OZ画面閉じた後、タスクアイコンの再描画
*/
public
void
reloadPdfTaskIcon
(
String
taskKey
)
{
operationTaskLayout
.
setIconStatus
(
taskKey
,
false
);
}
}
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