mirror of
https://github.com/moodle/moodle.git
synced 2025-01-21 23:48:45 +01:00
Keep defaults even when reediting web links that aren't using new window
This commit is contained in:
parent
2ff1e0d112
commit
0fbd1d3c02
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user