diff --git a/src/opnsense/mvc/app/views/OPNsense/Cron/index.volt b/src/opnsense/mvc/app/views/OPNsense/Cron/index.volt index 9d1a97714..65148d4f0 100644 --- a/src/opnsense/mvc/app/views/OPNsense/Cron/index.volt +++ b/src/opnsense/mvc/app/views/OPNsense/Cron/index.volt @@ -75,23 +75,9 @@ } ); + {% if (selected_uuid|default("") != "") %} openDialog('{{selected_uuid}}'); - {% else %} - // When not redirecting to caller and settings aren't persistent, signal the user after save - $("#DialogEdit").on("show.bs.modal", function () { - // wait some time before linking the save button, missing handle - setTimeout(function(){ - $("#btn_DialogEdit_save").click(function(){ - $("#cronChangeMessage").slideDown(1000, function(){ - setTimeout(function(){ - $("#cronChangeMessage").slideUp(2000); - }, 2000); - }); - }); - }, 500); - }); - // {% endif %} /************************************************************************************************************* @@ -130,7 +116,8 @@
| {{ lang._('Origin') }} |
|---|