* add cookie for edit project checkbox.
This commit is contained in:
@@ -10,8 +10,10 @@ $(function()
|
||||
$('input#editProject1').click(function()
|
||||
{
|
||||
var editProject = $(this).is(':checked') ? 1 : 0;
|
||||
$.cookie('editProject', editProject, {expires:config.cookieLife, path:config.webRoot});
|
||||
showEditCheckbox(editProject);
|
||||
});
|
||||
if($.cookie('editProject') != 0) $('input#editProject1').prop('checked', 'true');
|
||||
if($('input#editProject1').prop('checked')) showEditCheckbox(true);
|
||||
|
||||
$(document).on('click', ":checkbox[name^='projectIdList']", function()
|
||||
|
||||
Reference in New Issue
Block a user