Commit Graph

133 Commits

Author SHA1 Message Date
Andrew Ozz 3a20d6aa17 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: https://develop.svn.wordpress.org/trunk@18027 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:04:12 +00:00
Andrew Ozz 7228202817 Fix select all checkboxes JS function, another .attr() vs .prop() case in jQuery 1.6.1, fixes #17527
git-svn-id: https://develop.svn.wordpress.org/trunk@17979 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-20 22:47:36 +00:00
Daryl Koopersmith 0cfe07e299 Trigger 'howdy' dropdown by click instead of hover. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17851 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-10 20:36:12 +00:00
Daryl Koopersmith 46a01f3c74 Add collapse link to admin menu, add new arrow graphics, improve screen meta JS/CSS.
git-svn-id: https://develop.svn.wordpress.org/trunk@17813 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 19:51:32 +00:00
Andrew Ozz 53d3dae91f Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: https://develop.svn.wordpress.org/trunk@17623 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 18:45:22 +00:00
Andrew Nacin bbbfee7e7f Fix admin menu save state. props greuben, fixes #15767, see #15615.
git-svn-id: https://develop.svn.wordpress.org/trunk@16874 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 08:41:48 +00:00
Andrew Nacin 8338c78133 Fix closing admin menu animation. props filosofo, fixes #15615.
git-svn-id: https://develop.svn.wordpress.org/trunk@16813 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:51:22 +00:00
Andrew Nacin 8fe83c252a Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16419 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:52:01 +00:00
scribu 2b895dda71 Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16368 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:00:09 +00:00
Ryan Boren e33e94e28d Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16081 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 16:23:17 +00:00
scribu eb178ad876 More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
git-svn-id: https://develop.svn.wordpress.org/trunk@15743 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:53:37 +00:00
Mark Jaquith 29a6333a1f Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562.
git-svn-id: https://develop.svn.wordpress.org/trunk@15072 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 06:33:46 +00:00
Andrew Nacin 8cf4e1051f Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: https://develop.svn.wordpress.org/trunk@14472 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:13:31 +00:00
Andrew Nacin 7cfe307d12 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14286 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 03:43:11 +00:00
Andrew Nacin a383d24d57 Remove 'Turbo' link from admin header. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13833 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 20:59:57 +00:00
Dion Hulse fdf51312a0 Tabbing in Editors: Prevent certain browsers from Tabbing out of the field. Props filosofo. Fixes #12424
git-svn-id: https://develop.svn.wordpress.org/trunk@13548 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:49:06 +00:00
Andrew Nacin 4c74091898 Show a notice when changing a multisite's site admin email. props jorbin. Introduce an .inline class that can be used with div.updated and div.error, to prevent the message from being moved to the top of the page. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13446 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:19:10 +00:00
Andrew Nacin 4d65e83ef9 Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
git-svn-id: https://develop.svn.wordpress.org/trunk@13191 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 05:14:48 +00:00
Andrew Ozz 5ba628b1a9 Remove animation for admin notices, fixes #11267
git-svn-id: https://develop.svn.wordpress.org/trunk@12385 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 19:53:06 +00:00
Andrew Ozz a01165cf53 Make animation faster for admin notices, props nacin, fixes #11267
git-svn-id: https://develop.svn.wordpress.org/trunk@12380 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:34:04 +00:00
Andrew Ozz f27073a3d8 Save menu sections' opened/closed state separately, fixes #10366
git-svn-id: https://develop.svn.wordpress.org/trunk@12347 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 11:27:47 +00:00
Mark Jaquith b63538c44a Fix the case of the curiously expanding wp-admin menu. props westi. fixes #10366
git-svn-id: https://develop.svn.wordpress.org/trunk@12334 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 23:29:25 +00:00
Andrew Ozz e14dc40aeb Fix removal of .form-invalid in IE, props aldenta, fixes #11181
git-svn-id: https://develop.svn.wordpress.org/trunk@12215 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 10:24:14 +00:00
Andrew Ozz 772140e60f More jQuery based scripts optimizations, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11858 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:03:26 +00:00
Andrew Ozz 5a36aa00cd Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11837 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 09:53:37 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz 8db7e5a07c "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 03:11:12 +00:00
Andrew Ozz 02f0eee9eb Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
git-svn-id: https://develop.svn.wordpress.org/trunk@11676 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 08:12:39 +00:00
Andrew Ozz 7f321b9b90 Check if turbo-nag exists and don't initialize Gears on every page load to check if it's enabled only check if it's installed to prevent crash in Firefox 3.0.10. Fixes #10083
git-svn-id: https://develop.svn.wordpress.org/trunk@11538 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 02:52:16 +00:00
Andrew Ozz d36df6430d Fix submenu position and state on folded admin menu, props sambauers, fixes #9956
git-svn-id: https://develop.svn.wordpress.org/trunk@11483 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 07:42:55 +00:00
Andrew Ozz a8fa1281b7 TinyMCE 3.2.4, remove the autosave plugin and add the same functionality in autosave.js, fix double warning messages when leaving the page.
git-svn-id: https://develop.svn.wordpress.org/trunk@11437 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 22:08:17 +00:00
Andrew Ozz 092b182559 Fix Screen Options and Help buttons
git-svn-id: https://develop.svn.wordpress.org/trunk@11378 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 05:10:50 +00:00
Andrew Ozz ecc46022b2 Don't display empty values in the user display name drop-down, props Simek, fix js to add newly entered First Name and Last Name, fixes #9813
git-svn-id: https://develop.svn.wordpress.org/trunk@11330 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 17:01:04 +00:00
Andrew Ozz 4cbf51bc20 Sync common.js with common.dev.js
git-svn-id: https://develop.svn.wordpress.org/trunk@11165 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 23:23:32 +00:00
Andrew Ozz 4a911beaf3 Load the menu folded (if set), load the editor earlier
git-svn-id: https://develop.svn.wordpress.org/trunk@11118 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 05:43:03 +00:00
Andrew Ozz ad021e44ad Submit the form when setting items per page option so it's visible straight away
git-svn-id: https://develop.svn.wordpress.org/trunk@10987 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 12:46:53 +00:00
Andrew Ozz 7f277c435c Fix confirmation for second bulk delete, fixes #9473
git-svn-id: https://develop.svn.wordpress.org/trunk@10881 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-06 22:21:45 +00:00
Andrew Ozz 62faa2c130 Make sure parseInt returns decimal
git-svn-id: https://develop.svn.wordpress.org/trunk@10873 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-05 08:34:51 +00:00
Andrew Ozz bd0313e3bc Styling and minor improvements for items per page option
git-svn-id: https://develop.svn.wordpress.org/trunk@10872 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-05 08:25:10 +00:00
Andrew Ozz 9ff40f470b Improved no-js styles
git-svn-id: https://develop.svn.wordpress.org/trunk@10869 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-04 17:07:31 +00:00
Ryan Boren 64aae34fdc Bind to submit event. Bump script loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@10848 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 22:58:53 +00:00
Ryan Boren ea904a0ba0 Add per page option to Screen Options for comments, posts, pages, and media.
git-svn-id: https://develop.svn.wordpress.org/trunk@10847 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 22:47:47 +00:00
Andrew Ozz b297e484a4 Fix 'Screen Options' and 'Help' tabs in Safari, fixes #9021
git-svn-id: https://develop.svn.wordpress.org/trunk@10488 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-03 17:44:41 +00:00
Andrew Ozz 80fb5c79ce Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: https://develop.svn.wordpress.org/trunk@10348 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-12 13:43:17 +00:00
Andrew Ozz ee334aaf40 jQuery 1.3b2 and related changes (jquery.js is not minified to aid testing)
git-svn-id: https://develop.svn.wordpress.org/trunk@10326 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-07 05:02:40 +00:00
Andrew Ozz 416baab11a Minify all js and add the non-minified files as .dev.js
git-svn-id: https://develop.svn.wordpress.org/trunk@10291 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-02 15:08:58 +00:00
Andrew Ozz 077540b9af Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: https://develop.svn.wordpress.org/trunk@10258 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-27 12:18:38 +00:00
Andrew Ozz 66f7ae27a4 Explicitly declare Javascript vars when created, props projct, fixes #8654, fixes #8655, fixes #8656, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10232 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-19 20:33:44 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Andrew Ozz 7791e3ea99 Fix menu placement after folding/unfolding it several times, props vladimir_kolesnikov, fixes #8463
git-svn-id: https://develop.svn.wordpress.org/trunk@10133 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-08 23:59:30 +00:00
Andrew Ozz adb001a76c Don't select hidden rows' checkboxes when selecting all, fixes #8520
git-svn-id: https://develop.svn.wordpress.org/trunk@10107 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 09:04:38 +00:00
Ryan Boren 9fafac9e5f Fix not defined error
git-svn-id: https://develop.svn.wordpress.org/trunk@10074 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 21:45:49 +00:00
Mark Jaquith 0c1161d915 Fix Shift-X toggling of comments on Edit Comments
git-svn-id: https://develop.svn.wordpress.org/trunk@10063 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 07:15:31 +00:00
Andrew Ozz 7ebc549cc4 Do not show the Turbo link in the header if Gears is already being used, props markjaquith, fixes #8276
git-svn-id: https://develop.svn.wordpress.org/trunk@10031 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 06:35:21 +00:00
Andrew Ozz e200f660bc Don't select hidden chechboxes when using the "select all", fixes #8355
git-svn-id: https://develop.svn.wordpress.org/trunk@9911 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 22:07:57 +00:00
Andrew Ozz e157d40624 Fix base css blocks for easier horizontal scrolling, fixes #8092
git-svn-id: https://develop.svn.wordpress.org/trunk@9827 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-21 06:26:23 +00:00
Andrew Ozz 019e10a7a5 Remove unused bits, see #8254
git-svn-id: https://develop.svn.wordpress.org/trunk@9811 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 11:16:38 +00:00
Andrew Ozz 2f23018db2 Filter HTML entities when inserting strings with js, includes patch by nbachiyski, fixes #8254
git-svn-id: https://develop.svn.wordpress.org/trunk@9809 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 10:54:59 +00:00
Andrew Ozz 59ab1f6366 Fix tab button on the write screen in Opera, add tabindex to the menu, don't 'lock' the tab key between the title and the editor. Fixes #8197
git-svn-id: https://develop.svn.wordpress.org/trunk@9784 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 12:02:28 +00:00
Andrew Ozz 8f213372ea Ensure js objects are declared early
git-svn-id: https://develop.svn.wordpress.org/trunk@9780 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 06:58:38 +00:00
Andrew Ozz b5b456f173 Improve the check all: click to check all checkboxes, click again to uncheck all, Shift/click to toggle. Shift/clicking two consecutive boxes checks the range between them as before. Fixes #8217
git-svn-id: https://develop.svn.wordpress.org/trunk@9708 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 07:07:59 +00:00
Andrew Ozz 952c35b7cc Do not limit Shift/clicking checkboxes to .widefat tables
git-svn-id: https://develop.svn.wordpress.org/trunk@9633 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-12 10:42:31 +00:00
Andrew Ozz 521d3c0998 Consolidate six more js files
git-svn-id: https://develop.svn.wordpress.org/trunk@9631 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-12 09:35:50 +00:00
Andrew Ozz 047f108d0b Merge all JS files that always load with common.js
git-svn-id: https://develop.svn.wordpress.org/trunk@9626 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-12 00:27:01 +00:00
Mark Jaquith a865222300 Admin notices go UNDER the H2
git-svn-id: https://develop.svn.wordpress.org/trunk@9569 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-08 10:17:45 +00:00
Andrew Ozz b5a79bce8d Display warning when bulk deleting posts, pages, attachments, comments, etc.
git-svn-id: https://develop.svn.wordpress.org/trunk@9560 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-07 03:13:50 +00:00
Andrew Ozz 85ed07784c Side folding for the menu, first run, still needs colours, styling and perhaps different icons.
git-svn-id: https://develop.svn.wordpress.org/trunk@9154 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 05:10:16 +00:00
Mark Jaquith 0e90decca4 Add some delay to the favorites menu so that it is harder to accidentally open or close
git-svn-id: https://develop.svn.wordpress.org/trunk@9049 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-01 22:32:18 +00:00
Andrew Ozz 9ed4e227b8 Shortcuts drop-down
git-svn-id: https://develop.svn.wordpress.org/trunk@9003 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 12:02:32 +00:00
Andrew Ozz f8d904538d Simple "sticky" menu, remembers the open parents and the current parent is always open
git-svn-id: https://develop.svn.wordpress.org/trunk@8953 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 08:01:42 +00:00
Peter Westwood 1a98aec97c Better admin search boxes.
git-svn-id: https://develop.svn.wordpress.org/trunk@8827 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 23:19:08 +00:00
Andrew Ozz 59de3bae0b Base css layout, fixes #7620
git-svn-id: https://develop.svn.wordpress.org/trunk@8785 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-31 13:51:52 +00:00
Mark Jaquith 13e463fd0e Consolidate our hide-if-no-js CSS/jQuery stuff. Now, just: hide-if-js, hide-if-no-js. Simple, easy to remember.
git-svn-id: https://develop.svn.wordpress.org/trunk@8700 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 06:42:19 +00:00
Ryan Boren 6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren 000eee5dab Fix over-aggressive form validation. Props mdawaffe. fixes #6209
git-svn-id: https://develop.svn.wordpress.org/trunk@7384 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 19:20:18 +00:00
Peter Westwood 2d7ba950bc Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7325 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 22:57:47 +00:00
Matt Mullenweg 388c8fa9db Tooltips for media buttons. Hat tip: azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7311 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 16:53:36 +00:00
Ryan Boren df8228fa6c Attachment editing from mdawaffe. fixes #6181
git-svn-id: https://develop.svn.wordpress.org/trunk@7262 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 05:50:07 +00:00
Ryan Boren 6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren 7bcc30635b Ajax tweaks for edit-comments.php from mdawaffe. fixes #6009
git-svn-id: https://develop.svn.wordpress.org/trunk@7050 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 22:45:46 +00:00
Matt Mullenweg 3a11dc94c0 Fixes to category list saving. Hat tip: mdawaffe. Fixes #5631
git-svn-id: https://develop.svn.wordpress.org/trunk@6597 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 22:42:49 +00:00
Matt Mullenweg 202c3ed19c Replacing FAT with jQuery effects, new styling for alerts. See #5369.
git-svn-id: https://develop.svn.wordpress.org/trunk@6582 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 12:12:35 +00:00