mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge pull request #214 from silverstripe-droptables/ssexpress
Tweaks to CMS required for Translatable
This commit is contained in:
commit
a6d09988ed
@ -1576,8 +1576,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
||||
|
||||
$votes = $this->extend('augmentValidURLSegment');
|
||||
if($votes) {
|
||||
$votes = array_filter((array)$votes, 'is_null');
|
||||
if($votes) return min($votes);
|
||||
return min($votes);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -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