This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new d01a9c7  tourdejewel: changing from access again from dot to bracket 
fro dialogPolyfill since it doesn't work in release mode ¿Some knows why? hljs 
does mostly the same but works in release
d01a9c7 is described below

commit d01a9c710341739c9cc21939ba7a1ec9a73e2197
Author: Carlos Rovira <[email protected]>
AuthorDate: Mon May 6 20:40:57 2019 +0200

    tourdejewel: changing from access again from dot to bracket fro 
dialogPolyfill since it doesn't work in release mode ¿Some knows why? hljs does 
mostly the same but works in release
---
 .../projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as
index f257458..14d1061 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as
@@ -222,7 +222,8 @@ package org.apache.royale.jewel
                                        
                                        if (!("showModal" in dialog))
                                        {
-                                               
dialogPolyfill.registerDialog(dialog);
+                                               
window["dialogPolyfill"]["registerDialog"](dialog);
+                                               // 
dialogPolyfill.registerDialog(dialog);
                                        }
 
                                        //avoid scroll in html

Reply via email to