allow save button to trigger with CAMSTAB

10.3.x-maintenance
cTn 2013-12-18 02:35:00 +01:00
parent 6940bf723c
commit 078d305259
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
<span>xx.xx.xxxx - 0.21</span>
<p>
- Bugfix for Servo tab save button &amp; CAMSTAB<br />
</p>
<span>12.16.2013 - 0.20</span>
<p>
- Minor iprovements &amp; bugfixes<br />

View File

@ -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",

View File

@ -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);
}
});