Page 1 of 1

delete button on popover

PostPosted: Sat Jul 04, 2015 5:19 am
by rwu2359
In the environment I am testing for it is not allowed to delete records, what would be a good way to stop the action of the delete button (presuming it's too much work to remove it altogether) ?

If I change $action to " at the start of the Submit Event From WebViewer script it still deletes the event.
And nothing is run when the popover is closed so I can't trigger that instead.


john renfrew

Re: delete button on popover

PostPosted: Sat Jul 04, 2015 1:50 pm
by John Sindelar
Hi John,

Edit DayBack's CSS and add this somewhere after the first few classes:
Code: Select all
.dbk_editEvent .dbk_button_text_danger {
display: none;
}

That will pull the delete button from the popovers. Here are some notes about editing that CSS for anyone following along at home =)

http://www.seedcode.com/pmwiki/index.ph ... eMaker.CSS

HTH,

John

Re: delete button on popover

PostPosted: Sun Jul 05, 2015 12:56 pm
by rwu2359
got that..
thanks.