mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
use . syntax instead of [] syntax when calling show / hide
This commit is contained in:
parent
9317dbaa8c
commit
66db82e1b1
@ -40,19 +40,16 @@ jQuery(function($) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_custom: function() {
|
_custom: function() {
|
||||||
$('.custom-settings')['show']();
|
$('.custom-settings').show();
|
||||||
$('#ROContentOwners')['hide']();
|
$('.inherited-settings').hide();
|
||||||
$('#RONextReviewDate')['hide']();
|
|
||||||
},
|
},
|
||||||
_inherited: function() {
|
_inherited: function() {
|
||||||
$('.custom-settings')['hide']();
|
$('.inherited-settings').show();
|
||||||
$('#ROContentOwners')['show']();
|
$('.custom-settings').hide();
|
||||||
$('#RONextReviewDate')['show']();
|
|
||||||
},
|
},
|
||||||
_disabled: function() {
|
_disabled: function() {
|
||||||
$('.custom-settings')['hide']();
|
$('.inherited-settings').hide();
|
||||||
$('#ROContentOwners')['hide']();
|
$('.custom-settings').hide();
|
||||||
$('#RONextReviewDate')['hide']();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user