mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
admin/plugins: Use jQuery to build the Update button
This commit is contained in:
parent
2ddc45bf07
commit
6a00d7f8d6
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,8 @@ $(document).ready(() => {
|
||||||
socket.on('results:updatable', (data) => {
|
socket.on('results:updatable', (data) => {
|
||||||
data.updatable.forEach((pluginName) => {
|
data.updatable.forEach((pluginName) => {
|
||||||
const actions = $(`#installed-plugins > tr.${pluginName} .actions`);
|
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();
|
updateHandlers();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue