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-settings')['show']();
|
||||
$('#ROContentOwners')['hide']();
|
||||
$('#RONextReviewDate')['hide']();
|
||||
$('.custom-settings').show();
|
||||
$('.inherited-settings').hide();
|
||||
},
|
||||
_inherited: function() {
|
||||
$('.custom-settings')['hide']();
|
||||
$('#ROContentOwners')['show']();
|
||||
$('#RONextReviewDate')['show']();
|
||||
$('.inherited-settings').show();
|
||||
$('.custom-settings').hide();
|
||||
},
|
||||
_disabled: function() {
|
||||
$('.custom-settings')['hide']();
|
||||
$('#ROContentOwners')['hide']();
|
||||
$('#RONextReviewDate')['hide']();
|
||||
$('.inherited-settings').hide();
|
||||
$('.custom-settings').hide();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user