allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [03/38] git commit: [#6275] ticket:367 show edit div after validation error
Date Mon, 03 Jun 2013 19:19:02 GMT
[#6275]  ticket:367 show edit div after validation error


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/56830d92
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/56830d92
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/56830d92

Branch: refs/heads/cj/6218
Commit: 56830d92a82a2e6aad53620254b923fcde1301f3
Parents: 9bd1343
Author: Yuriy Arhipov <yuriyarhipovua@yandex.ru>
Authored: Tue May 28 03:04:44 2013 +0400
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Fri May 31 07:49:23 2013 +0000

----------------------------------------------------------------------
 .../forgetracker/templates/tracker/ticket.html     |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/56830d92/ForgeTracker/forgetracker/templates/tracker/ticket.html
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/templates/tracker/ticket.html b/ForgeTracker/forgetracker/templates/tracker/ticket.html
index 8c98002..e6e11f6 100644
--- a/ForgeTracker/forgetracker/templates/tracker/ticket.html
+++ b/ForgeTracker/forgetracker/templates/tracker/ticket.html
@@ -206,6 +206,9 @@
             $(this).trigger('editTicket');
             return false;
           });
+          if ($('div > div.error').hasClass('error')){
+            $('a.edit_ticket').click();
+          }
           $('a.cancel_form').click(function () {
             form_holder.hide();
             view_holder.show();


Mime
View raw message