This topic was marked solved by its starter, on October 24th, 2012, 02:05 AM

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,670
Delete media: 'No' button does not work
« 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.
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Delete media: 'No' button does not work
« Reply #1, 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.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Delete media: 'No' button does not work
« Reply #2, 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

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Delete media: 'No' button does not work
« Reply #4, 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...

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,670

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,670