Public area => Bug reports => The Pub => Archived fixes => Topic started by: live627 on October 7th, 2012, 02:46 AM
Title: Delete media: 'No' button does not work
Post by: live627 on October 7th, 2012, 02:46 AM
The 'No' button on the confirm box to delete media does nothing. Tested here on this site.
Posted: October 7th, 2012, 02:40 AM
No errors in the console when tested on localhost with un-minified JS.
Title: Re: Delete media: 'No' button does not work
Post by: Arantor on October 7th, 2012, 07:59 PM
Hmm, this is a curious one. The event that is supposed to be called is essentially the right one - it selects the a that makes up the close button and sends the click() event to it, but for some reason it's not triggering the click event that is actually bound to that element.
Title: Re: Delete media: 'No' button does not work
Post by: Nao on October 19th, 2012, 03:34 PM
It's an old piece of code that I never really got around to changing back into a regular confirm()... Which would make sense because it's the only place (that I know of) where Zoomedia is used to show a confirm box. It has no point, really. And takes HTML for nothing.
Who's in favor of a confirm box? :P
Title: Re: Delete media: 'No' button does not work
Post by: Arantor on October 20th, 2012, 01:02 AM
A regular confirm box would be fine :)
Title: Re: Delete media: 'No' button does not work
Post by: Nao on October 20th, 2012, 05:20 PM
Done locally.
BTW, do you have any idea how to get a list of all ignored files in TortoiseSVN or SVN in general..? I only learned today that local ignores != global ignores. Global ignores = ignored by your setup, regular ignores = uploaded to the svn server and shared by all other devs... So it's not cool that my local ignores have files like '1Subs-Cache.php' in them (the kind of file I kept as a backup at one point in development and forgot to delete from the ignore list after I deleted them...), it's a waste of space for everyone. But I don't want to go through all of my folders to check for local ignores I might have forgotten about...
Title: Re: Delete media: 'No' button does not work
Post by: live627 on October 21st, 2012, 03:14 AM
I can't seem to mark this topic as solved even though I can see the button.
Title: Re: Delete media: 'No' button does not work
Post by: Arantor on October 21st, 2012, 03:19 AM
Not another bug in my plugin -_-
Title: Re: Delete media: 'No' button does not work
Post by: Nao on October 22nd, 2012, 03:25 PM
Fixed that for ya.
Title: Re: Delete media: 'No' button does not work
Post by: live627 on October 24th, 2012, 02:06 AM