mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
Version 1.6.0
This commit is contained in:
parent
1e1cbe2dbd
commit
278cb9cf8e
@ -270,10 +270,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
$('[data-update-addon-id="' + addon_id + '"]').removeClass('loading');
|
||||
$('[data-update-addon-id="' + addon_id + '"]').removeClass('disabled');
|
||||
$('[data-uninstall-addon-id="' + addon_id + '"]').removeClass('disabled');
|
||||
$('#install-addon-url-button').removeClass('disabled');
|
||||
display_message('success', data, 6000000);
|
||||
if (addon_id) {
|
||||
$('#install-addon-url-button').removeClass('disabled');
|
||||
$('#install-addon-url-input').val('');
|
||||
$('#tr-' + addon_id).removeClass('warning');
|
||||
$('#tr-' + addon_id).addClass('positive');
|
||||
$('#button-update-' + addon_id).removeClass('green');
|
||||
@ -282,6 +281,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
$('#label-version-' + addon_id).text($('#label-available-version-' + addon_id).text());
|
||||
}
|
||||
else {
|
||||
$('#install-addon-url-input').val('');
|
||||
get_addon_info();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user