r97075 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97074‎ | r97075 | r97076 >
Date:17:37, 14 September 2011
Author:foxtrott
Status:deferred
Tags:
Comment:
popupform allows input type file upload
Modified paths:
  • /trunk/extensions/SemanticForms/libs/SF_popupform.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/libs/SF_popupform.js
@@ -387,6 +387,7 @@
388388 .not('a[href*="javascript:"]') // scripted links
389389 .not('a[target]') // targeted links
390390 .not('a[href^="#"]') // local links
 391+ .not('a.sfFancyBox') // link to file upload
391392 .click(function(event){
392393 if ( event.result != false ) { // if not already caught by somebody else
393394 closeFrameAndFollowLink( event.target.getAttribute('href') )