mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] Remove led-green if Swap button is clicked twice (no action)
Merry Christmas and Happy New Year :)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user