Removing deprecated JS from AjaxUniqueTextField

This commit is contained in:
Sean Harvey 2012-11-16 11:01:14 +13:00
parent 62280b9ba3
commit aeef4d6e84

View File

@ -31,11 +31,6 @@ class AjaxUniqueTextField extends TextField {
}
public function Field($properties = array()) {
Requirements::javascript(THIRDPARTY_DIR . "/prototype/prototype.js");
Requirements::javascript(THIRDPARTY_DIR . "/behaviour/behaviour.js");
Requirements::add_i18n_javascript(FRAMEWORK_DIR . '/javascript/lang');
Requirements::javascript(FRAMEWORK_DIR . "/javascript/UniqueFields.js");
$url = Convert::raw2att( $this->validateURL );
if($this->restrictedRegex)