mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUG: Only add validation to non-read only URLSegmentField
Fix required for Translatable, as it has a read-only URLSegmentField.
This commit is contained in:
parent
17db5baf19
commit
7316f96190
@ -5,7 +5,7 @@
|
||||
*
|
||||
* Input validation on the URLSegment field
|
||||
*/
|
||||
$('.field.urlsegment').entwine({
|
||||
$('.field.urlsegment:not(.readonly)').entwine({
|
||||
|
||||
/**
|
||||
* Constructor: onmatch
|
||||
|
Loading…
Reference in New Issue
Block a user