admin/plugins: Use jQuery to build the Update button
parent
2ddc45bf07
commit
6a00d7f8d6
|
@ -221,7 +221,8 @@ $(document).ready(() => {
|
|||
socket.on('results:updatable', (data) => {
|
||||
data.updatable.forEach((pluginName) => {
|
||||
const actions = $(`#installed-plugins > tr.${pluginName} .actions`);
|
||||
actions.append('<input class="do-update" type="button" value="Update" />');
|
||||
actions.append(
|
||||
$('<input>').addClass('do-update').attr('type', 'button').attr('value', 'Update'));
|
||||
});
|
||||
updateHandlers();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue