"New action" as "edit action" on checked item

Phoca Download - download manager
pitu
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Oct 2010, 21:29
Location: Slovakia

"New action" as "edit action" on checked item

Post by pitu »

So:
Check some item in Files/Sections/Categories, then click on "new" button and make some change/changes on loaded data. After it save/apply changes.
I would expect for creating and storing a new item, but selected item was edit and stored in Database. Is it ok, or bug?

Sorry for my bad english...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "New action" as "edit action" on checked item

Post by Jan »

Hi, sorry I don't understand. If you will add new file, then it will be stored and you can edit it or leave it with cancel button or save button. Apply button will be redirecting back to the same file to edit it.

Jan
If you find Phoca extensions useful, please support the project
pitu
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Oct 2010, 21:29
Location: Slovakia

Re: "New action" as "edit action" on checked item

Post by pitu »

Hi,
if is checked some item (checkbox) in list of items (for example in sections) and next will be click on new button
Image,
new button will be redirecting to edit task of checked item (instead of add task, in my opinion)
Image.

I'm sorry for "spending" your time for this topic, if all is ok.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "New action" as "edit action" on checked item

Post by Jan »

Hi, thank you for this info, seems like the javascritp is not correct.

I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply