1
0
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:
Jan Schneider 2018-01-28 01:34:58 +01:00
parent 1e1cbe2dbd
commit 278cb9cf8e

View File

@ -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('loading');
$('[data-update-addon-id="' + addon_id + '"]').removeClass('disabled'); $('[data-update-addon-id="' + addon_id + '"]').removeClass('disabled');
$('[data-uninstall-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); display_message('success', data, 6000000);
if (addon_id) { if (addon_id) {
$('#install-addon-url-button').removeClass('disabled');
$('#install-addon-url-input').val('');
$('#tr-' + addon_id).removeClass('warning'); $('#tr-' + addon_id).removeClass('warning');
$('#tr-' + addon_id).addClass('positive'); $('#tr-' + addon_id).addClass('positive');
$('#button-update-' + addon_id).removeClass('green'); $('#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()); $('#label-version-' + addon_id).text($('#label-available-version-' + addon_id).text());
} }
else { else {
$('#install-addon-url-input').val('');
get_addon_info(); get_addon_info();
} }
}, },