@ -1401,8 +1401,11 @@ $(function() {
|
||||
|
||||
if ($('#serendipity_only_path').length > 0) {
|
||||
if ($('#serendipity_only_path').val() != localStorage.getItem('serendipity_only_path')) {
|
||||
$('#serendipity_only_path').val(localStorage.getItem('serendipity_only_path'));
|
||||
$('#media_library_control').submit();
|
||||
var only_path = localStorage.getItem('serendipity_only_path');
|
||||
if(only_path != null) {
|
||||
$('#serendipity_only_path').val(only_path);
|
||||
$('#media_library_control').submit();
|
||||
}
|
||||
}
|
||||
$('#serendipity_only_path').change(function() {
|
||||
localStorage.setItem('serendipity_only_path', $('#serendipity_only_path').val());
|
||||
|
Reference in New Issue
Block a user