Index: /trunk/grails-app/i18n/messages.properties
===================================================================
--- /trunk/grails-app/i18n/messages.properties (revision 849)
+++ /trunk/grails-app/i18n/messages.properties (revision 850)
@@ -516,2 +516,7 @@
#
appCore.rebuild.text.search.index=The text search index is being rebuilt in the background, see log file for details.
+
+#
+# Ajax messages.
+#
+ajax.default.could.not.perform.operation=Could not perform operation, no response from server.
Index: /trunk/grails-app/views/layouts/main.gsp
===================================================================
--- /trunk/grails-app/views/layouts/main.gsp (revision 849)
+++ /trunk/grails-app/views/layouts/main.gsp (revision 850)
@@ -32,5 +32,5 @@
-
+
Index: /trunk/web-app/js/taskShow.js
===================================================================
--- /trunk/web-app/js/taskShow.js (revision 849)
+++ /trunk/web-app/js/taskShow.js (revision 850)
@@ -50,9 +50,9 @@
}
else {
- createContainer.html(errorIndication().show()).slideDown(600);
- button.show(600, function() {
- if(jQuery.browser.msie) {
- jQuery(this).get(0).style.removeAttribute('filter'); // Remove blur/fuzzy text in IE.
- }
+ createContainer.html(savedHtml);
+ createContainer.prepend(errorIndication().show()).slideDown(600);
+ // Scroll the window.
+ jQuery('html,body').animate({scrollTop: createContainer.offset().top - 70}, 900, function() {
+ createContainer.find(':input[name="comment"]').focus();
});
}
@@ -60,4 +60,5 @@
// Start.
+ var savedHtml = createContainer.children().detach();
createContainer.html(loadingIndication().show()).slideDown(600);