Refresh in widget settings (#12127)

* add timeout for widget in widget settings

* forgot get saved timeout and added default value for all widgets

* code correction

* move refresh to json

* forgot remove old code

* added refresh validate rule

* fix empty refresh for exist widgets

* fix empty settings for new widgets

* Set refresh in base
Update refresh at runtime (doesn't interrupt previous timeout)

* Update WidgetSettingsController.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
Negatifff
2020-10-02 16:52:04 +03:00
committed by GitHub
parent 039ce4cb55
commit 173ca83018
8 changed files with 30 additions and 23 deletions

View File

@@ -25,7 +25,6 @@
namespace App\Http\Controllers\Widgets;
use Illuminate\Http\Request;
use Illuminate\View\View;
class NotesController extends WidgetController
{