From 7a711dd3dfa5cdb2f42539a1e5e53e7b9db39b86 Mon Sep 17 00:00:00 2001 From: Michael Dale Date: Mon, 9 Nov 2009 04:20:53 +0000 Subject: [PATCH] * added textSelection plugin from usability --- js2/editPage.js | 2 +- .../example_usage/Add_Media_Wizard.html | 5 +- js2/mwEmbed/jquery/jquery.ui/ui/ui.core.js | 2 +- .../jquery/plugins/jquery.textSelection.js | 323 ++++++++++++++++++ js2/mwEmbed/libAddMedia/remoteSearchDriver.js | 64 ++-- js2/mwEmbed/libEmbedVideo/embedVideo.js | 2 +- js2/mwEmbed/mv_embed.js | 36 +- js2/remoteMwEmbed.js | 2 +- 8 files changed, 371 insertions(+), 65 deletions(-) create mode 100644 js2/mwEmbed/jquery/plugins/jquery.textSelection.js diff --git a/js2/editPage.js b/js2/editPage.js index 8e41461b3d..36d2dd50e4 100644 --- a/js2/editPage.js +++ b/js2/editPage.js @@ -46,7 +46,7 @@ js2AddOnloadHook( function() { ); } //add to old toolbar if wikiEditor did not remove '#toolbar' from the page: - setTimeout(function(){ + setTimeout(function(){ if( $j('#btn-add-media-wiz').length == 0 && $j( '#toolbar' ).length != 0 ){ $j( '#toolbar' ).append( '' ); diff --git a/js2/mwEmbed/example_usage/Add_Media_Wizard.html b/js2/mwEmbed/example_usage/Add_Media_Wizard.html index 898c786bdd..6f7270662e 100644 --- a/js2/mwEmbed/example_usage/Add_Media_Wizard.html +++ b/js2/mwEmbed/example_usage/Add_Media_Wizard.html @@ -11,9 +11,10 @@ border:medium none; } - + +