Fixed modal loading for tracklist selective
authorRemixDev <deezloaderremix@gmail.com>
Mon, 4 Mar 2019 11:54:37 +0000 (12:54 +0100)
committerRemixDev <deezloaderremix@gmail.com>
Mon, 4 Mar 2019 11:54:37 +0000 (12:54 +0100)
app/public/index.html
app/public/js/frontend.js

index e1dcd70728956422f3f6069bd8abbab87befda72..16fa5321d072e81be9032484c2f058f5b0065f38 100644 (file)
                                        <td v-for="data in head" v-html="data.title" v-bind:style = "{ 'width': `${data.width ? data.width : 'auto'}`}" v-bind:class="{ 'hide-on-med-and-up' : data.smallonly, 'hide-on-small-only': data.hideonsmall }"></td>
                                </tr>
                                </thead>
-                               <tbody id="modal_trackListSelective_table_trackList_tbody_loadingIndicator" class="hide">
+                               <tbody id="modal_trackListSelective_table_trackListSelective_tbody_loadingIndicator" class="hide">
                                <tr>
                                        <td class="center" colspan="6">
                                                <div class="preloader-wrapper big active">
index 7918e2842ffdfad19e7d8de39c0e4ebdb25390d3..78ef2df0922732975757c67c89ca3d6bd9c53ff0 100644 (file)
@@ -600,6 +600,7 @@ function showTrackListSelective(link) {
        trackListSelectiveModalApp.metadata = ""
        trackListSelectiveModalApp.release_date = ""
        trackListSelectiveModalApp.type = ""
+       trackListSelectiveModalApp.head = []
        trackListSelectiveModalApp.body = []
        $('#modal_trackListSelective').modal('open')
        socket.emit('getTrackList', {id: getIDFromLink(link), type: getTypeFromLink(link)})
@@ -637,6 +638,7 @@ function showTrackList(link) {
        trackListModalApp.metadata = ""
        trackListModalApp.release_date = ""
        trackListModalApp.type = ""
+       trackListModalApp.head = []
        trackListModalApp.body = []
        $('#modal_trackList').modal('open')
        socket.emit("getTrackList", {id: getIDFromLink(link), type: getTypeFromLink(link)})