diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt
index 73623d1..0c7f592 100644
--- a/Builder/IISMainHandler/build.txt
+++ b/Builder/IISMainHandler/build.txt
@@ -1 +1 @@
-600
\ No newline at end of file
+604
\ No newline at end of file
diff --git a/Builder/IISUploadHandler/build.txt b/Builder/IISUploadHandler/build.txt
index 1713e61..4b74f22 100644
--- a/Builder/IISUploadHandler/build.txt
+++ b/Builder/IISUploadHandler/build.txt
@@ -1 +1 @@
-334
\ No newline at end of file
+338
\ No newline at end of file
diff --git a/IISMainHandler/handlers/request/CreateThreadHandler.cs b/IISMainHandler/handlers/request/CreateThreadHandler.cs
index 3e5a5ac..004e610 100644
--- a/IISMainHandler/handlers/request/CreateThreadHandler.cs
+++ b/IISMainHandler/handlers/request/CreateThreadHandler.cs
@@ -23,7 +23,10 @@ namespace FLocal.IISHandler.handlers.request {
newThread.markAsRead(context.session.account, newPost, newPost);
- return new XElement[] { newPost.exportToXmlWithoutThread(context, false) };
+ return new XElement[] {
+ newThread.board.exportToXml(context, false),
+ newPost.exportToXmlWithoutThread(context, false)
+ };
}
}
}
diff --git a/IISMainHandler/handlers/request/ReplyHandler.cs b/IISMainHandler/handlers/request/ReplyHandler.cs
index 56d1409..70c301f 100644
--- a/IISMainHandler/handlers/request/ReplyHandler.cs
+++ b/IISMainHandler/handlers/request/ReplyHandler.cs
@@ -23,7 +23,10 @@ namespace FLocal.IISHandler.handlers.request {
newPost.thread.markAsRead(context.session.account, newPost, newPost);
- return new XElement[] { newPost.exportToXmlWithoutThread(context, false) };
+ return new XElement[] {
+ newPost.thread.board.exportToXml(context, false),
+ newPost.exportToXmlWithoutThread(context, false)
+ };
}
}
diff --git a/static/js/common.js b/static/js/common.js
index 18607de..1d4677f 100644
--- a/static/js/common.js
+++ b/static/js/common.js
@@ -5,4 +5,29 @@ function showSpoiler(obj) {
} else {
inner.style.display = "none";
}
-}
\ No newline at end of file
+}
+
+var isNetscape = (document.layers) ? true : false;
+var isOpera = (navigator.userAgent.toLowerCase ().indexOf ("opera") != -1);
+var isIe = (document.all && !isOpera) ? true : false;
+var isWebkit = (navigator.userAgent.toLowerCase ().indexOf ("webkit") != -1);
+var isMozilla = (document.getElementById && !isIe && !isOpera && !isWebkit) ? true : false;
+var isMac = (navigator.userAgent.toLowerCase ().indexOf ("macintosh") != -1);
+
+function assignArrowsHandlers() {
+ document.onkeydown = function(event) {
+ if(window.event && isIe) {
+ keyCode = window.event.keyCode;
+ } else if (event.keyCode) {
+ keyCode = event.keyCode;
+ } else {
+ keyCode = event.which;
+ }
+
+ if (keyCode == 37) {
+ location.href = document.getElementById("actionLink_left").href;
+ } else if (keyCode == 39) {
+ location.href = document.getElementById("actionLink_right").href;
+ }
+ }
+}
diff --git a/static/js/textEditor.js b/static/js/textEditor.js
index 606aea7..f8cb6bd 100644
Binary files a/static/js/textEditor.js and b/static/js/textEditor.js differ
diff --git a/templates/Full/result/MessageCreated.xslt b/templates/Full/result/MessageCreated.xslt
index 0e640b9..ad1780b 100644
--- a/templates/Full/result/MessageCreated.xslt
+++ b/templates/Full/result/MessageCreated.xslt
@@ -11,14 +11,31 @@
- - - Ваше сообщение было успешно создано +
+ |
- Миграция была успешно завершена, теперь вы можете войти в форум, используя свой логин и новый пароль +
+ |
- - - Ваше сообщение было успешно создано +
+ |