User:Mono: Difference between revisions
Content deleted Content added
Blanked the page |
test |
||
Line 1: | Line 1: | ||
<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></html> |
Revision as of 23:25, 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></html>