MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions

This commit is contained in:
Petr Skoda
2010-01-16 15:39:56 +00:00
parent 5192a212f8
commit a685593466
424 changed files with 955 additions and 906 deletions
+1 -1
View File
@@ -977,7 +977,7 @@ class html_select extends labelled_html_component {
$select->form->method = 'get';
$select->form->jssubmitaction = true;
$select->form->add_class('popupform');
$select->form->url = new moodle_url($CFG->wwwroot . '/course/jumpto.php', array('sesskey' => sesskey()));
$select->form->url = new moodle_url('/course/jumpto.php', array('sesskey' => sesskey()));
$select->form->button->text = get_string('go');
$select->id = $formid . '_jump';