Skip to content

Commit

Permalink
Bug 833630 - STK Display text does not give option to terminate SIM s…
Browse files Browse the repository at this point in the history
…ession, r=vingtetun
  • Loading branch information
Fernando Rodriguez Sela authored and jhford committed Jan 25, 2013
1 parent 0504a72 commit f467577
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/settings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2378,6 +2378,7 @@ <h2 id="icc-stk-subheader"></h2>
<h1 data-l10n-id="message">Message</h1>
<p id="icc-stk-alert-msg">
</p>
<button data-l10n-id="close" id="icc-stk-alert-btn_close">Close</button>
</section>
<menu>
<button data-l10n-id="back" id="icc-stk-alert-btn_back">Back</button>
Expand Down
6 changes: 6 additions & 0 deletions apps/settings/js/icc.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@
alertbox.classList.add('hidden');
stkResGoBack();
}
document.getElementById('icc-stk-alert-btn_close').onclick = function() {
alertbox.classList.add('hidden');
responseSTKCommand({
resultCode: icc.STK_RESULT_UICC_SESSION_TERM_BY_USER
});
};
document.getElementById('icc-stk-help-exit').onclick = updateMenu;

window.onunload = function() {
Expand Down

0 comments on commit f467577

Please sign in to comment.