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:
Robert Curry 2012-07-24 15:59:39 +12:00 committed by Mateusz Uzdowski
parent 17db5baf19
commit 7316f96190

View File

@ -5,7 +5,7 @@
*
* Input validation on the URLSegment field
*/
$('.field.urlsegment').entwine({
$('.field.urlsegment:not(.readonly)').entwine({
/**
* Constructor: onmatch