Skip to content

Commit

Permalink
Removes unneeded loading a script already loaded by inputfilter.js.php [
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Mar 27, 2013
1 parent 8f0ee9d commit 8da959e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/core/forms/form.php
Expand Up @@ -209,7 +209,7 @@ function toHTML($form_id=null, $module=null) {
}
}
$html = "<!-- Form Object '" . $this->name . "' -->\r\n";
$html .= '<script type="text/javascript" src="'.PATH_RELATIVE.'framework/core/forms/js/required.js"></script>'."\r\n";
// $html .= '<script type="text/javascript" src="'.PATH_RELATIVE.'framework/core/forms/js/required.js"></script>'."\r\n";
$html .= "<script type=\"text/javascript\" src=\"" .PATH_RELATIVE."framework/core/forms/js/inputfilters.js.php\"></script>\r\n";
foreach ($this->scripts as $name=>$script) $html .= "<script type=\"text/javascript\" src=\"$script\"></script>\r\n";
$html .= '<div class="error">'.$formError.'</div>';
Expand Down

0 comments on commit 8da959e

Please sign in to comment.