don't autorefresh watch view table
This commit is contained in:
parent
dd0cac35fe
commit
74fe47c4c5
|
@ -180,6 +180,7 @@ function setAlarmState( currentAlarmState ) {
|
|||
var oldAlarm = ( !isAlarmed && wasAlarmed );
|
||||
|
||||
if ( newAlarm ) {
|
||||
table.bootstrapTable('refresh');
|
||||
if ( SOUND_ON_ALARM ) {
|
||||
// Enable the alarm sound
|
||||
if ( !canPlayPauseAudio ) {
|
||||
|
@ -193,6 +194,7 @@ function setAlarmState( currentAlarmState ) {
|
|||
}
|
||||
}
|
||||
if ( oldAlarm ) { // done with an event do a refresh
|
||||
table.bootstrapTable('refresh');
|
||||
if ( SOUND_ON_ALARM ) {
|
||||
// Disable alarm sound
|
||||
if ( !canPlayPauseAudio ) {
|
||||
|
@ -201,7 +203,6 @@ function setAlarmState( currentAlarmState ) {
|
|||
$('MediaPlayer').Stop();
|
||||
}
|
||||
}
|
||||
table.bootstrapTable('refresh');
|
||||
}
|
||||
|
||||
lastAlarmState = alarmState;
|
||||
|
|
|
@ -173,10 +173,6 @@ if ( canView('Events') && ($monitor->Type() != 'WebSite') ) {
|
|||
data-show-export="true"
|
||||
data-uncheckAll="true"
|
||||
data-buttons-class="btn btn-normal"
|
||||
data-auto-refresh="true"
|
||||
data-auto-refresh-silent="true"
|
||||
data-show-refresh="true"
|
||||
data-auto-refresh-interval="5"
|
||||
class="table-sm table-borderless"
|
||||
>
|
||||
<thead>
|
||||
|
|
Loading…
Reference in New Issue