From 934a6a821d4c40f0f556d7aecba0cbcb63a43856 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Thu, 30 Sep 2010 07:21:45 +0000 Subject: [PATCH] Image tag promt removed from textEditor --- Builder/IISMainHandler/build.txt | 2 +- static/js/textEditor.js | 8 ++++---- templates/Modern/elems/TextEditor.xslt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index a78eeee..a35fccb 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1730 \ No newline at end of file +1736 \ No newline at end of file diff --git a/static/js/textEditor.js b/static/js/textEditor.js index 8864b97..2d423be 100644 --- a/static/js/textEditor.js +++ b/static/js/textEditor.js @@ -1,4 +1,4 @@ -function x() { +function x() { return; } var cancelEnter = false; @@ -156,12 +156,12 @@ function DoPrompt(action) { insertAtCaret(document.replier.Body, ' ' + "[i]" + thisItal + "[/i]" + ' '); document.replier.Body.focus(); return; - } else if(action == "image") { - var thisImage = prompt("Введите полный URL картинки, которую вы хотите вставить в сообщение.", "http://"); + } else if(action == "furl") { + var thisImage = prompt("Введите полный URL адреса на старом форуме.", "http://"); if(thisImage == null) { return; } - insertAtCaret(document.replier.Body, ' ' + "[image]" + thisImage + "[/image]" + ' ' ); + insertAtCaret(document.replier.Body, ' ' + "[furl]" + thisImage + "[/furl]" + ' ' ); document.replier.Body.focus(); return; } else if(action == "quote") { diff --git a/templates/Modern/elems/TextEditor.xslt b/templates/Modern/elems/TextEditor.xslt index 31f92df..cfe2142 100644 --- a/templates/Modern/elems/TextEditor.xslt +++ b/templates/Modern/elems/TextEditor.xslt @@ -118,7 +118,7 @@ function insertInBody(str) {