Fixed settings
This commit is contained in:
parent
9a24b87d95
commit
2754df1c99
@ -52,8 +52,8 @@
|
||||
|
||||
<script type="text/javascript" src="js/util.js"></script>
|
||||
<script type="text/javascript" src="js/app.js?14"></script>
|
||||
<script type="text/javascript" src="js/services.js?16"></script>
|
||||
<script type="text/javascript" src="js/controllers.js?24"></script>
|
||||
<script type="text/javascript" src="js/services.js?17"></script>
|
||||
<script type="text/javascript" src="js/controllers.js?25"></script>
|
||||
<script type="text/javascript" src="js/filters.js?3"></script>
|
||||
<script type="text/javascript" src="js/directives.js?16"></script>
|
||||
|
||||
|
@ -602,11 +602,10 @@ angular.module('myApp.controllers', [])
|
||||
$scope.notify = {};
|
||||
$scope.send = {};
|
||||
|
||||
AppConfigManager.get(['notify_nodesktop', 'notify_nosound', 'send_ctrlenter']).then(function (settings) {
|
||||
$scope.notify.sound = !settings.notify_nosound;
|
||||
$scope.notify.desktop = !settings.notify_nodesktop;
|
||||
$scope.send.enter = settings.send_ctrlenter ? '' : '1';
|
||||
console.log($scope.send.enter);
|
||||
AppConfigManager.get('notify_nodesktop', 'notify_nosound', 'send_ctrlenter').then(function (settings) {
|
||||
$scope.notify.desktop = !settings[0];
|
||||
$scope.notify.sound = !settings[1];
|
||||
$scope.send.enter = settings[2] ? '' : '1';
|
||||
});
|
||||
|
||||
$scope.$watch('notify.sound', function(newValue) {
|
||||
|
@ -1824,6 +1824,10 @@ angular.module('myApp.services', [])
|
||||
|
||||
seqStart = seqStart || seq;
|
||||
|
||||
if (!seqStart) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (seqStart != curState.seq + 1) {
|
||||
// console.log('seq hole', seqStart, curState.seq);
|
||||
if (seqStart != curState.seq) {
|
||||
|
Loading…
Reference in New Issue
Block a user