mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removing deprecated JS from AjaxUniqueTextField
This commit is contained in:
parent
62280b9ba3
commit
aeef4d6e84
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user