Modify

Opened 16 years ago

Closed 5 years ago

#5262 closed defect (fixed)

Incorrect ID in disable_resolve.js

Reported by: IBBoard Owned by: Ryan J Ollos
Priority: normal Component: MasterTicketsPlugin
Severity: normal Keywords:
Cc: Frau Boonekamp Trac Release: 0.11

Description

The htdocs folder contains a disable_resolve.js script that is included whenever a ticket is viewed and it is blocked by open tickets. At the moment the script references the incorrect ID (on 11.4 at least) and so doesn't work.

Attachments (0)

Change History (4)

comment:1 Changed 16 years ago by IBBoard

This is the current code for the file:

$(function() {
   $('#resolve').attr('disabled', 'disabled');
});

and this is what I've changed it to that works:

$(function() {
   $('#action_resolve').attr('disabled', 'disabled'); 
});

The only change is replacing "#resolve" with "#action_resolve".

comment:2 Changed 14 years ago by Frau Boonekamp

Cc: Frau Boonekamp added; anonymous removed

Will investigate (and I will try to push the patch).

comment:3 Changed 11 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

comment:4 Changed 5 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

In 17717:

TracMasterTickets 4.0.4dev: Fix disabling of fixed resolution

Use jQuery rather than $ at global scope.

Fixes #5262.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.