[FIX] Remove led-green if Swap button is clicked twice (no action)

Merry Christmas and Happy New Year :)
This commit is contained in:
Pablo
2018-12-29 20:40:33 +01:00
parent 862042b87e
commit 89576bf508

View File

@@ -278,6 +278,7 @@ var PMSCalendarController = AbstractController.extend({
} else {
active_calendar.setSwapMode(HotelCalendar.MODE.NONE);
$("#btn_swap span.ntext").html(_t("Start Swap"));
$led.removeClass('led-green');
$led.removeClass('led-blue');
$led.addClass('led-disabled');
}