Keep defaults even when reediting web links that aren't using new window
This commit is contained in:
@@ -111,6 +111,12 @@
|
||||
if ($form->instance) { // Re-editing
|
||||
if (!$form->alltext) {
|
||||
$newwindow = "";
|
||||
$window->resizable = "checked"; // Defaults
|
||||
$window->scrollbars = "checked";
|
||||
$window->status = "checked";
|
||||
$window->location = "checked";
|
||||
$window->width = 620;
|
||||
$window->height = 450;
|
||||
} else {
|
||||
$newwindow = "checked";
|
||||
$rawoptions = explode(',', $form->alltext);
|
||||
|
||||
Reference in New Issue
Block a user