Checkout vs edit

9 år 9 måneder dager siden #636 av Roman
Checkout vs edit opprettet av 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:)

Vennligst Logg inn eller Registrer konto for å bli med i samtalen.

Tid til å lage siden: 0.046 sekunder
Forumløsning av: Kunena

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.