aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-03 22:53:07 -0700
committerValerio Virgillito2012-05-03 22:53:07 -0700
commit24b483db367291b72170f969de78efcb1a9b95bd (patch)
treea691a7803cefbfa76a6331a50cbeebcd16287d91 /node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel
parentdc93269cfa7c315d22d85c8217e2412749643f28 (diff)
downloadninja-24b483db367291b72170f969de78efcb1a9b95bd.tar.gz
integrating the latest montage version
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel')
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.html10
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.js1
2 files changed, 5 insertions, 6 deletions
diff --git a/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.html b/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.html
index 1e2ec2cc..04b52dd6 100644
--- a/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.html
+++ b/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.html
@@ -11,16 +11,14 @@
11 <script type="text/montage-serialization"> 11 <script type="text/montage-serialization">
12 { 12 {
13 "link": { 13 "link": {
14 "module": "montage/ui/anchor.reel", 14 "prototype": "montage/ui/anchor.reel",
15 "name": "Anchor",
16 "properties": { 15 "properties": {
17 "element": {"#": "link"} 16 "element": {"#": "link"}
18 } 17 }
19 }, 18 },
20 19
21 "owner": { 20 "owner": {
22 "module": "montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel", 21 "prototype": "montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel[RichTextLinkPopup]",
23 "name": "RichTextLinkPopup",
24 "properties": { 22 "properties": {
25 "element": {"#": "linkpopup-container"}, 23 "element": {"#": "linkpopup-container"},
26 "link": {"@": "link"} 24 "link": {"@": "link"}
@@ -30,8 +28,8 @@
30 </script> 28 </script>
31</head> 29</head>
32<body> 30<body>
33 <div id="linkpopup-container" class="montage-link-popup" contentEditable="false"> 31 <div data-montage-id="linkpopup-container" class="montage-link-popup" contentEditable="false">
34 <a id="link" target="_blank"></a> 32 <a data-montage-id="link" target="_blank"></a>
35 </div> 33 </div>
36</body> 34</body>
37</html> 35</html>
diff --git a/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.js b/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.js
index 90342d81..02598030 100644
--- a/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.js
+++ b/node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.js
@@ -135,6 +135,7 @@ exports.RichTextLinkPopup = Montage.create(Component,/** @lends module:"montage/
135 if (this._editor.activeOverlay == this) { 135 if (this._editor.activeOverlay == this) {
136 this._editor.hideOverlay(); 136 this._editor.hideOverlay();
137 } 137 }
138 this.target = null;
138 139
139 return false; 140 return false;
140 } 141 }