User:Mono: Difference between revisions
Content deleted Content added
hmm |
No edit summary |
||
Line 20: | Line 20: | ||
}); |
}); |
||
</script> |
</script> |
||
<a |
<a>Test</a> |
||
</html> |
</html> |
Revision as of 23:29, 27 December 2012
<html><script> mw.loader.using(['jquery.ui.dialog'], function () { $( 'a' ).click( function( e ) { $( '#dialog' ).dialog({ resizable: false, buttons: { "Leave Feedback Now": function() { $( this ).dialog( window.location.href = 'https://meta.wikimedia.org/w/index.php?title=Foundation_wiki_feedback&action=edit§ion=new&preloadtitle=wikimediafoundation.org' ); }, "Close": function() { $( this ).dialog( "close" ); } } }); e.preventDefault(); }); }); </script> <a>Test</a> </html>