Author: rjollos
Date: Fri Feb 21 01:05:39 2014
New Revision: 1570407

URL: http://svn.apache.org/r1570407
Log:
0.8dev: Removed unused variable and spurious line break.

Modified:
    bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1570407&r1=1570406&r2=1570407&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html 
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Fri Feb 
21 01:05:39 2014
@@ -70,8 +70,7 @@
         install_workflow();
         $('#edit-cancel, #edit-cancel-below').click(revert_ticket);
 
-        var modify_elem = $('#modify');
-        modify_elem.parent().hide();
+        $('#modify').parent().hide();
         $('#propertyform .buttons [name="preview"]').hide();
         $('#comment').change(function (e) {
           $('#hidden-comment').val($('#comment').val());
@@ -183,8 +182,7 @@
                 var action = action_ui.find('input[name=action]').val();
                 var newowner = 
action_ui.find('input[id$=_reassign_owner]').val();
                 var newresolution = 
action_ui.find('select[id$=_resolution]').val();
-                var newlabel = action_ui.find('label[for^=action_]')
-                    .text();
+                var newlabel = action_ui.find('label[for^=action_]').text();
                 if (action === 'leave')
                   newlabel = newlabel + ' as ' + $('#vc-status a').text();
                 else if (newowner)


Reply via email to