Keep state for image size, alignment and url in the uploader and for categories view on the write page, fixes #7520

git-svn-id: https://develop.svn.wordpress.org/trunk@9654 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-11-13 03:07:39 +00:00
parent c0f3c21378
commit 054a6aa047
4 changed files with 53 additions and 13 deletions

View File

@@ -190,6 +190,12 @@ jQuery(document).ready( function($) {
jQuery('#newcat').focus();
return false;
} );
$('a[href="#categories-all"]').click(function(){deleteUserSetting('cats');});
$('a[href="#categories-pop"]').click(function(){setUserSetting('cats','pop');});
if ( 'pop' == getUserSetting('cats') )
$('a[href="#categories-pop"]').click();
jQuery('.categorychecklist .popular-category :checkbox').change( syncChecks ).filter( ':checked' ).change();
var stamp = $('#timestamp').html();
var visibility = $('#post-visibility-display').html();