Commit Graph

133 Commits

Author SHA1 Message Date
azaozz
65f9c441a7 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: http://svn.automattic.com/wordpress/trunk@18027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:04:12 +00:00
azaozz
a34fe128c2 Fix select all checkboxes JS function, another .attr() vs .prop() case in jQuery 1.6.1, fixes #17527
git-svn-id: http://svn.automattic.com/wordpress/trunk@17979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 22:47:36 +00:00
koopersmith
33a0cf3286 Trigger 'howdy' dropdown by click instead of hover. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 20:36:12 +00:00
koopersmith
892a2a0df4 Add collapse link to admin menu, add new arrow graphics, improve screen meta JS/CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 19:51:32 +00:00
azaozz
9ac90e3262 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: http://svn.automattic.com/wordpress/trunk@17623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 18:45:22 +00:00
nacin
e384bd8c2f Fix admin menu save state. props greuben, fixes #15767, see #15615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 08:41:48 +00:00
nacin
fdb3b09a99 Fix closing admin menu animation. props filosofo, fixes #15615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:51:22 +00:00
nacin
4fda3f791f Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 04:52:01 +00:00
scribu
a41a7b5b5b Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:00:09 +00:00
ryan
ce13c6bdf0 Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
git-svn-id: http://svn.automattic.com/wordpress/trunk@16081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 16:23:17 +00:00
scribu
c640cfb7ef More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
git-svn-id: http://svn.automattic.com/wordpress/trunk@15743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 09:53:37 +00:00
markjaquith
100e81c448 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: http://svn.automattic.com/wordpress/trunk@15072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 06:33:46 +00:00
nacin
625f6d8ad5 Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:13:31 +00:00
nacin
8787503192 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:11 +00:00
nacin
2794e060dc Remove 'Turbo' link from admin header. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 20:59:57 +00:00
dd32
4c7070fb41 Tabbing in Editors: Prevent certain browsers from Tabbing out of the field. Props filosofo. Fixes #12424
git-svn-id: http://svn.automattic.com/wordpress/trunk@13548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 11:49:06 +00:00
nacin
42703bfe08 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: http://svn.automattic.com/wordpress/trunk@13446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 21:19:10 +00:00
nacin
0dcfcc6e20 Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
git-svn-id: http://svn.automattic.com/wordpress/trunk@13191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 05:14:48 +00:00
azaozz
bdc05e2ea2 Remove animation for admin notices, fixes #11267
git-svn-id: http://svn.automattic.com/wordpress/trunk@12385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 19:53:06 +00:00
azaozz
4cee15f1be Make animation faster for admin notices, props nacin, fixes #11267
git-svn-id: http://svn.automattic.com/wordpress/trunk@12380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 07:34:04 +00:00
azaozz
b52703b322 Save menu sections' opened/closed state separately, fixes #10366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 11:27:47 +00:00
markjaquith
d71edf5122 Fix the case of the curiously expanding wp-admin menu. props westi. fixes #10366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 23:29:25 +00:00
azaozz
51aaa9c7c3 Fix removal of .form-invalid in IE, props aldenta, fixes #11181
git-svn-id: http://svn.automattic.com/wordpress/trunk@12215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 10:24:14 +00:00
azaozz
7a5b2339d9 More jQuery based scripts optimizations, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:03:26 +00:00
azaozz
491b68752b Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 09:53:37 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
azaozz
d2fec31c0e "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 03:11:12 +00:00
azaozz
f385e7da46 Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
git-svn-id: http://svn.automattic.com/wordpress/trunk@11676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 08:12:39 +00:00
azaozz
333924fbec 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: http://svn.automattic.com/wordpress/trunk@11538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 02:52:16 +00:00
azaozz
7e52231ce1 Fix submenu position and state on folded admin menu, props sambauers, fixes #9956
git-svn-id: http://svn.automattic.com/wordpress/trunk@11483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 07:42:55 +00:00
azaozz
4a50994a4e 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: http://svn.automattic.com/wordpress/trunk@11437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 22:08:17 +00:00
azaozz
69dacfe471 Fix Screen Options and Help buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@11378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 05:10:50 +00:00
azaozz
fc488172cc 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: http://svn.automattic.com/wordpress/trunk@11330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 17:01:04 +00:00
azaozz
14d3f71cf0 Sync common.js with common.dev.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@11165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-03 23:23:32 +00:00
azaozz
6d535ce0c2 Load the menu folded (if set), load the editor earlier
git-svn-id: http://svn.automattic.com/wordpress/trunk@11118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 05:43:03 +00:00
azaozz
3650836f09 Submit the form when setting items per page option so it's visible straight away
git-svn-id: http://svn.automattic.com/wordpress/trunk@10987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 12:46:53 +00:00
azaozz
25c13543f2 Fix confirmation for second bulk delete, fixes #9473
git-svn-id: http://svn.automattic.com/wordpress/trunk@10881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-06 22:21:45 +00:00
azaozz
2b4925cf63 Make sure parseInt returns decimal
git-svn-id: http://svn.automattic.com/wordpress/trunk@10873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-05 08:34:51 +00:00
azaozz
d849a19db2 Styling and minor improvements for items per page option
git-svn-id: http://svn.automattic.com/wordpress/trunk@10872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-05 08:25:10 +00:00
azaozz
7160187ec2 Improved no-js styles
git-svn-id: http://svn.automattic.com/wordpress/trunk@10869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 17:07:31 +00:00
ryan
e24a341f0b Bind to submit event. Bump script loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 22:58:53 +00:00
ryan
72a58f8025 Add per page option to Screen Options for comments, posts, pages, and media.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 22:47:47 +00:00
azaozz
691c8eea79 Fix 'Screen Options' and 'Help' tabs in Safari, fixes #9021
git-svn-id: http://svn.automattic.com/wordpress/trunk@10488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-03 17:44:41 +00:00
azaozz
1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +00:00
azaozz
bc871c819e jQuery 1.3b2 and related changes (jquery.js is not minified to aid testing)
git-svn-id: http://svn.automattic.com/wordpress/trunk@10326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-07 05:02:40 +00:00
azaozz
a750885c8e Minify all js and add the non-minified files as .dev.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@10291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-02 15:08:58 +00:00
azaozz
b54484f937 Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-27 12:18:38 +00:00
azaozz
f7e5bfa831 Explicitly declare Javascript vars when created, props projct, fixes #8654, fixes #8655, fixes #8656, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-19 20:33:44 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
azaozz
7f822f67a3 Fix menu placement after folding/unfolding it several times, props vladimir_kolesnikov, fixes #8463
git-svn-id: http://svn.automattic.com/wordpress/trunk@10133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 23:59:30 +00:00
azaozz
7162109255 Don't select hidden rows' checkboxes when selecting all, fixes #8520
git-svn-id: http://svn.automattic.com/wordpress/trunk@10107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 09:04:38 +00:00
ryan
26c5e5ba79 Fix not defined error
git-svn-id: http://svn.automattic.com/wordpress/trunk@10074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 21:45:49 +00:00
markjaquith
569a1ff339 Fix Shift-X toggling of comments on Edit Comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@10063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 07:15:31 +00:00
azaozz
a6a324ac11 Do not show the Turbo link in the header if Gears is already being used, props markjaquith, fixes #8276
git-svn-id: http://svn.automattic.com/wordpress/trunk@10031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 06:35:21 +00:00
azaozz
5410af6e2a Don't select hidden chechboxes when using the "select all", fixes #8355
git-svn-id: http://svn.automattic.com/wordpress/trunk@9911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 22:07:57 +00:00
azaozz
67eb2e6382 Fix base css blocks for easier horizontal scrolling, fixes #8092
git-svn-id: http://svn.automattic.com/wordpress/trunk@9827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 06:26:23 +00:00
azaozz
6eb239267f Remove unused bits, see #8254
git-svn-id: http://svn.automattic.com/wordpress/trunk@9811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 11:16:38 +00:00
azaozz
5785542e00 Filter HTML entities when inserting strings with js, includes patch by nbachiyski, fixes #8254
git-svn-id: http://svn.automattic.com/wordpress/trunk@9809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 10:54:59 +00:00
azaozz
ec0a4a9ebf 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: http://svn.automattic.com/wordpress/trunk@9784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 12:02:28 +00:00
azaozz
e4c2127e20 Ensure js objects are declared early
git-svn-id: http://svn.automattic.com/wordpress/trunk@9780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 06:58:38 +00:00
azaozz
e00cb4d429 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: http://svn.automattic.com/wordpress/trunk@9708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 07:07:59 +00:00
azaozz
d0452528e7 Do not limit Shift/clicking checkboxes to .widefat tables
git-svn-id: http://svn.automattic.com/wordpress/trunk@9633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 10:42:31 +00:00
azaozz
7e200d589d Consolidate six more js files
git-svn-id: http://svn.automattic.com/wordpress/trunk@9631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 09:35:50 +00:00
azaozz
ef6f5c31d7 Merge all JS files that always load with common.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@9626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 00:27:01 +00:00
markjaquith
950fb8fb6f Admin notices go UNDER the H2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 10:17:45 +00:00
azaozz
73959104bc Display warning when bulk deleting posts, pages, attachments, comments, etc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-07 03:13:50 +00:00
azaozz
7a2fb7dcf5 Side folding for the menu, first run, still needs colours, styling and perhaps different icons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 05:10:16 +00:00
markjaquith
43cb4be063 Add some delay to the favorites menu so that it is harder to accidentally open or close
git-svn-id: http://svn.automattic.com/wordpress/trunk@9049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-01 22:32:18 +00:00
azaozz
5f6a6dbe35 Shortcuts drop-down
git-svn-id: http://svn.automattic.com/wordpress/trunk@9003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 12:02:32 +00:00
azaozz
1d6c32e2a8 Simple "sticky" menu, remembers the open parents and the current parent is always open
git-svn-id: http://svn.automattic.com/wordpress/trunk@8953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 08:01:42 +00:00
westi
475c4eecaa Better admin search boxes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 23:19:08 +00:00
azaozz
a58d2d4cf9 Base css layout, fixes #7620
git-svn-id: http://svn.automattic.com/wordpress/trunk@8785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-31 13:51:52 +00:00
markjaquith
e0f519adc5 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: http://svn.automattic.com/wordpress/trunk@8700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 06:42:19 +00:00
ryan
d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
afc92801a1 Fix over-aggressive form validation. Props mdawaffe. fixes #6209
git-svn-id: http://svn.automattic.com/wordpress/trunk@7384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 19:20:18 +00:00
westi
e65d6369f2 Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:57:47 +00:00
matt
44cb71faa1 Tooltips for media buttons. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 16:53:36 +00:00
ryan
3d0435bb58 Attachment editing from mdawaffe. fixes #6181
git-svn-id: http://svn.automattic.com/wordpress/trunk@7262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 05:50:07 +00:00
ryan
04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan
8ebf2db0c6 Ajax tweaks for edit-comments.php from mdawaffe. fixes #6009
git-svn-id: http://svn.automattic.com/wordpress/trunk@7050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:45:46 +00:00
matt
917d5a7370 Fixes to category list saving. Hat tip: mdawaffe. Fixes #5631
git-svn-id: http://svn.automattic.com/wordpress/trunk@6597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 22:42:49 +00:00
matt
d66013fdd9 Replacing FAT with jQuery effects, new styling for alerts. See #5369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 12:12:35 +00:00