Showing
1 changed file
with
1 additions
and
1 deletions
@@ -256,7 +256,7 @@ | @@ -256,7 +256,7 @@ | ||
256 | obj.textValue = text.value; | 256 | obj.textValue = text.value; |
257 | } | 257 | } |
258 | var conItem = href.indexOf("?") > -1 ? "&" : "?"; | 258 | var conItem = href.indexOf("?") > -1 ? "&" : "?"; |
259 | - obj._href = obj.href = href + conItem + 'openby:yohobuy=' + JSON.stringify({action: action.val(), params: {url: encodeURI(href), param: getUrlParams(href)}}); | 259 | + obj._href = obj.href = href + conItem + 'openby:yohobuy=' + JSON.stringify({action: action.val(), params: {url: href.split("?")[0], param: getUrlParams(href)}}); |
260 | 260 | ||
261 | editor.execCommand('link',utils.clearEmptyAttrs(obj) ); | 261 | editor.execCommand('link',utils.clearEmptyAttrs(obj) ); |
262 | dialog.close(); | 262 | dialog.close(); |
-
Please register or login to post a comment