[mb-commits] branch, mbs-5813, created. MBS-5813: In the release editor, show the 'artist editable' checkbox

MusicBrainz Git Server <[email protected]> Mon, 04 Feb 2013 07:37:56 +0000
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1U2Gcm-00049K-Sy@wiley>
The branch, mbs-5813 has been created
        at  7417efb3a3635ddda29c790ce13784fc0492aeec (commit)

- Log -----------------------------------------------------------------
commit 7417efb3a3635ddda29c790ce13784fc0492aeec
Author: Oliver Charles <[email protected]>
Date:   Mon Feb 4 10:30:09 2013 +0000

    MBS-5813: In the release editor, show the 'artist editable' checkbox
    
    c2848355 (MBS-5740) made this checkbox only appear conditionally, if
    the table contained <input> elements with type="checkbox", at the
    time of initialization. However, the release editor dynamically creates
    checkboxes, and so the select all checkbox would not be shown. This
    commit simply re-shows the checkbox in the release editor.

diff --git a/root/static/scripts/release-editor/MB/Control/ReleaseTracklist.js b/root/static/scripts/release-editor/MB/Control/ReleaseTracklist.js
index ba968f1..e79af41 100644
--- a/root/static/scripts/release-editor/MB/Control/ReleaseTracklist.js
+++ b/root/static/scripts/release-editor/MB/Control/ReleaseTracklist.js
@@ -951,6 +951,8 @@ MB.Control.ReleaseDisc = function (parent, $disc) {
 MB.Control.ReleaseTracklist = function () {
     var self = MB.Object ();
 
+    $('#release-editor table.tbl th input[type="checkbox"]').show();
+
     self.bubble_collection = MB.Control.BubbleCollection ();
     self.bubble_collection.setType (MB.Control.BubbleRow);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
mb_server