projects
/
profile
/
mobile
/
apps
/
native
/
email-app.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
491940a
)
[Email] Fix issue with update of RTTB buttons text colors
42/84442/2
submit/tizen/20160818.153733
author
Igor Nazarov
<i.nazarov@samsung.com>
Thu, 18 Aug 2016 13:12:39 +0000
(16:12 +0300)
committer
Igor Olshevskyi
<i.olshevskyi@samsung.com>
Thu, 18 Aug 2016 14:07:27 +0000
(07:07 -0700)
Change-Id: I9274e660177970d077d506d8fcd8f428002bd32f
res/misc/email-composer.js
patch
|
blob
|
history
diff --git
a/res/misc/email-composer.js
b/res/misc/email-composer.js
index
b57657a
..
70418a4
100644
(file)
--- a/
res/misc/email-composer.js
+++ b/
res/misc/email-composer.js
@@
-995,6
+995,11
@@
function HexToRgb(hex) {
}
function ExecCommand(type, value) {
+ // To fix timing issue when selection change callback called after execution of this command
+ window.setTimeout(doExecCommand, 0, type, value);
+}
+
+function doExecCommand(type, value) {
var range = utils.getSelectionRange();
if (!range) {
return;