Checkout vs edit

9 years 9 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($canEdit && $this->item->checked_out == 0):
if recplace to 
$UserId = JFactory::getUser()->id;
if($canEdit && ($this->item->checked_out == 0 ||$this->item->checked_out == $UserId)):
checkedOut user able to finish the job:)

Please Log in or Create an account to join the conversation.

Time to create page: 0.047 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.