diff --git a/sonoff/xdrv_09_timers.ino b/sonoff/xdrv_09_timers.ino index 2f8e79649..73c143ae9 100644 --- a/sonoff/xdrv_09_timers.ino +++ b/sonoff/xdrv_09_timers.ino @@ -647,7 +647,9 @@ const char HTTP_TIMER_STYLE[] PROGMEM = #endif ""; const char HTTP_FORM_TIMER[] PROGMEM = - "
 " D_TIMER_PARAMETERS " 
" + "
" + " " D_TIMER_PARAMETERS " " + "" "
" D_TIMER_ENABLE "


" "" "
" "
"; -const char HTTP_FORM_TIMER2[] PROGMEM = - "type='submit' onclick='st();this.form.submit();'"; void HandleTimerConfiguration() { @@ -710,7 +710,6 @@ void HandleTimerConfiguration() page.replace(F("299"), String(100 + (strlen(D_SUNSET) *12))); // Fix string length to keep radios centered #endif // USE_SUNRISE page += FPSTR(HTTP_FORM_END); - page.replace(F("type='submit'"), FPSTR(HTTP_FORM_TIMER2)); page += F(""); // Init elements and select first tab/button page += FPSTR(HTTP_BTN_CONF); ShowPage(page);