Checkout vs edit
Roman
New Member
Posts: 9
9 years 10 months ago #636
by Roman
Checkout vs edit was created by Roman
Hi,
In a single view
if user once push edit button (checkout item)
and don't save/cancel
this user have no edit button anymore, so user can't checkin.if recplace to checkedOut user able to finish the job:)
In a single view
if user once push edit button (checkout item)
and don't save/cancel
this user have no edit button anymore, so user can't checkin.
if($canEdit && $this->item->checked_out == 0):
$UserId = JFactory::getUser()->id;
if($canEdit && ($this->item->checked_out == 0 ||$this->item->checked_out == $UserId)):
Please Log in or Create an account to join the conversation.
Time to create page: 0.043 seconds