From 078d3052593c5d373e925002b5ea26ba57baf6f1 Mon Sep 17 00:00:00 2001 From: cTn Date: Wed, 18 Dec 2013 02:35:00 +0100 Subject: [PATCH] allow save button to trigger with CAMSTAB --- changelog.html | 4 ++++ manifest.json | 2 +- tabs/servos.js | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changelog.html b/changelog.html index b68a5cd6f9..e6474b1bd9 100644 --- a/changelog.html +++ b/changelog.html @@ -1,3 +1,7 @@ +xx.xx.xxxx - 0.21 +

+ - Bugfix for Servo tab save button & CAMSTAB
+

12.16.2013 - 0.20

- Minor iprovements & bugfixes
diff --git a/manifest.json b/manifest.json index c9381652c8..324801f7d9 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "baseflight - Configurator", "short_name": "baseflight", "description": "Cool crossplatform configurator", - "version": "0.20", + "version": "0.21", "manifest_version": 2, "minimum_chrome_version": "31", diff --git a/tabs/servos.js b/tabs/servos.js index e01b883a8c..f9d2f964e2 100644 --- a/tabs/servos.js +++ b/tabs/servos.js @@ -130,7 +130,8 @@ function tab_initialize_servos() { }); $('a.update').click(function() { - if (supported_models.indexOf(CONFIG.multiType) != -1) { + // standard check for supported_models + custom implementation for feature servo_tilt + if (supported_models.indexOf(CONFIG.multiType) != -1 || AUX_CONFIG.indexOf('CAMSTAB') > -1 || AUX_CONFIG.indexOf('CAMTRIG') > -1) { servos_update(true); } });