remove addition of new opegroups

This commit is contained in:
Ludovic Stephan 2017-02-07 18:45:57 -02:00
parent b404c989ff
commit db94a8904c

View file

@ -239,10 +239,7 @@ $(document).ready(function() {
data = $.extend({}, websocket_msg_default, JSON.parse(e.data));
for (var i=0; i<data['opegroups'].length; i++) {
if (data['opegroups'][i]['add'] &&
moment(data['opegroups'][i]['at']).isBefore(moment($to_date.val()).add(15, 'minutes'))) {
khistory.addOpeGroup(data['opegroups'][i]);
} else if (data['opegroups'][i]['cancellation']) {
if (data['opegroups'][i]['cancellation']) {
khistory.cancelOpeGroup(data['opegroups'][i]);
}
}