Skip to content

Commit

Permalink
MDL-21400 termopary workaround for regression
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Feb 14, 2010
1 parent f9fc146 commit 5bb3ef7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/form/url.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function MoodleQuickForm_url($elementName=null, $elementLabel=null, $attributes=
$this->_options['usefilepicker'] = true;
}
parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
repository_head_setup();
//repository_head_setup(); TODO: fixme
}

function setHiddenLabel($hiddenLabel){
Expand Down Expand Up @@ -58,7 +58,8 @@ function toHtml(){
}
$client_id = uniqid();

$repojs = repository_get_client($context, $client_id, '*', FILE_EXTERNAL);
//$repojs = repository_get_client($context, $client_id, '*', FILE_EXTERNAL);
$repojs = ''; //TODO: fixme

$PAGE->requires->js('/lib/form/url.js');
$str .= $repojs;
Expand Down

0 comments on commit 5bb3ef7

Please sign in to comment.