mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR embargo expiry fixes
MINOR deny/cancel spun out into seperate actyions (from r85047) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89219 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
bb5d8d5ca3
commit
ce7497c38a
@ -868,7 +868,8 @@ function hideIndicator(id) {
|
|||||||
|
|
||||||
var CurrentPage = {
|
var CurrentPage = {
|
||||||
id: function() { if($('Form_EditForm_ID')) return $('Form_EditForm_ID').value; },
|
id: function() { if($('Form_EditForm_ID')) return $('Form_EditForm_ID').value; },
|
||||||
version: function() { if($('Form_EditForm_Version')) return $('Form_EditForm_Version').value; },
|
version: function() { if($('Form_EditForm_Version')) return parseInt($('Form_EditForm_Version').value, 10); },
|
||||||
|
setVersion: function(version) { $('Form_EditForm_Version').value = version; },
|
||||||
isDeleted: function() { if($('SiteTree_Alert')) return $('SiteTree_Alert').getAttribute('deletedfromstage'); }
|
isDeleted: function() { if($('SiteTree_Alert')) return $('SiteTree_Alert').getAttribute('deletedfromstage'); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user