Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | array( 'src' => 'js/plugins/jquery.browser.js', 'version' => 3 ), |
62 | 62 | array( 'src' => 'js/plugins/jquery.cookie.js', 'version' => 3 ), |
63 | 63 | array( 'src' => 'js/plugins/jquery.namespaceSelect.js', 'version' => 0 ), |
64 | | - array( 'src' => 'js/plugins/jquery.suggestions.js', 'version' => 1 ), |
| 64 | + array( 'src' => 'js/plugins/jquery.suggestions.js', 'version' => 2 ), |
65 | 65 | array( 'src' => 'js/plugins/jquery.textSelection.js', 'version' => 9 ), |
66 | 66 | array( 'src' => 'js/plugins/jquery.wikiEditor.js', 'version' => 4 ), |
67 | 67 | array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 11 ), |
Index: trunk/extensions/UsabilityInitiative/css/suggestions.css |
— | — | @@ -34,7 +34,6 @@ |
35 | 35 | margin: 0; |
36 | 36 | } |
37 | 37 | .suggestions-result { |
38 | | - /*white-space: nowrap;*/ |
39 | 38 | color: black; |
40 | 39 | color: WindowText; |
41 | 40 | padding: 0.25em 0.25em; |
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.suggestions.js |
— | — | @@ -268,7 +268,7 @@ |
269 | 269 | } else if ( typeof args[0] == 'string' ) { |
270 | 270 | if ( args.length > 1 ) { |
271 | 271 | // Set property values |
272 | | - $.suggestions.configure( context, args[0], args[1] );; |
| 272 | + $.suggestions.configure( context, args[0], args[1] ); |
273 | 273 | } else if ( returnValue == null ) { |
274 | 274 | // Get property values, but don't give access to internal data - returns only the first |
275 | 275 | returnValue = ( args[0] in context.config ? undefined : context.config[args[0]] ); |
— | — | @@ -300,7 +300,7 @@ |
301 | 301 | .mouseover( function( e ) { |
302 | 302 | $.suggestions.highlight( context, $( e.target ).closest( '.suggestions-results div' ), false ); |
303 | 303 | } ) |
304 | | - .addClass( 'suggestions' ) // TODO: use own CSS |
| 304 | + .addClass( 'suggestions' ) |
305 | 305 | .append( |
306 | 306 | $( '<div />' ).addClass( 'suggestions-results' ) |
307 | 307 | // Can't use click() because the container div is hidden when the textbox loses focus. Instead, |