Neal Wilson 10 years ago
parent
commit
7273f2048e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      config/Windows/navigation.xml

+ 1
- 1
config/Windows/navigation.xml View File

282
 		
282
 		
283
 		/* Asynchronous notifications */
283
 		/* Asynchronous notifications */
284
 		var DBUpdateNotifications = function() {
284
 		var DBUpdateNotifications = function() {
285
-			var query = new new QSqlQuery;
285
+			var query = new QSqlQuery;
286
 			query.exec("CREATE OR REPLACE FUNCTION notify_roasting_log_change() RETURNS TRIGGER AS $$ BEGIN NOTIFY RoastingLogChange; RETURN NULL; END; $$ LANGUAGE plpgsql");
286
 			query.exec("CREATE OR REPLACE FUNCTION notify_roasting_log_change() RETURNS TRIGGER AS $$ BEGIN NOTIFY RoastingLogChange; RETURN NULL; END; $$ LANGUAGE plpgsql");
287
 			query.exec("CREATE TRIGGER notify_roasting_log_change AFTER INSERT OR UPDATE ON roasting_log FOR EACH STATEMENT EXECUTE PROCEDURE notify_roasting_log_change()");
287
 			query.exec("CREATE TRIGGER notify_roasting_log_change AFTER INSERT OR UPDATE ON roasting_log FOR EACH STATEMENT EXECUTE PROCEDURE notify_roasting_log_change()");
288
 			query = query.invalidate();
288
 			query = query.invalidate();

Loading…
Cancel
Save