cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate content pop-up message

e-no91
Champ in-the-making
Champ in-the-making
What I want to do is, when a user uploads a file that have duplicates in the site,
the file will be deleted and a pop-up message will appear saying that there is a duplicate.

How do I display the pop-up message?

Thanks in advance!
2 REPLIES 2

xiaoqunhua
Champ in-the-making
Champ in-the-making
Hi,you can do this via some rules with javascript code!

e-no91
Champ in-the-making
Champ in-the-making
Thank you for the reply!
I've tried setting  up a rule to execute my js file.
But I cannot display the error box. I tried using status.setCode(..), but it returns status not defined.