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
|
c721f308ce
|
Add quotes to [value="some"] selectors, see #16426
git-svn-id: https://develop.svn.wordpress.org/trunk@17777 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-30 02:15:08 +00:00 |
Andrew Nacin
|
fb4e38b0e7
|
Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 07:48:22 +00:00 |
scribu
|
078cda9275
|
Fix menu box search. Fixes #14335
git-svn-id: https://develop.svn.wordpress.org/trunk@15709 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 14:17:34 +00:00 |
Ryan Boren
|
82be9621ec
|
Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-11 20:19:35 +00:00 |
Andrew Nacin
|
e8f7f12adf
|
Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15214 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-11 05:19:36 +00:00 |
Andrew Nacin
|
d5a2b82b96
|
Prevent 'Enter menu name here' menus, and offer some feedback. props koopersmith, fixes #13703.
git-svn-id: https://develop.svn.wordpress.org/trunk@15124 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-03 03:33:54 +00:00 |
Ryan Boren
|
0922715668
|
Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-02 20:04:07 +00:00 |
Andrew Nacin
|
e21a5a1b24
|
Nav menu improvements. props koopersmith. RTL support for tabs, better tab handling, other improvements. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15080 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-31 20:22:49 +00:00 |
Mark Jaquith
|
b5cd195f68
|
Do not load window.onbeforeonload event if we are not on an existing nav menu. props filosofo. Reduce opacity on nav menu postboxes if we are not on an existing nav menu, and for JS users, deactivate all links and form elements, to make it obvious that those UI elements are not usable at this stage. fixes #13615
git-svn-id: https://develop.svn.wordpress.org/trunk@15062 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-29 19:39:40 +00:00 |
Andrew Nacin
|
51cc204001
|
Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600.
git-svn-id: https://develop.svn.wordpress.org/trunk@15049 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-28 23:04:00 +00:00 |
Andrew Nacin
|
5ff8d718f2
|
Don't show double-AYS for deleting a menu. props filosofo, duck_. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15046 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-28 20:38:19 +00:00 |
Ryan Boren
|
44621fee7d
|
Nav menu RTL js fixes. Props filosofo. see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15039 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-28 16:57:47 +00:00 |
Andrew Nacin
|
939c73a317
|
Force menu AYS when a menu item is deleted. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14973 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-27 02:31:23 +00:00 |
Andrew Nacin
|
9b4a85cdaf
|
Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213.
git-svn-id: https://develop.svn.wordpress.org/trunk@14971 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-27 02:24:33 +00:00 |
Ryan Boren
|
5cceae73e3
|
Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
git-svn-id: https://develop.svn.wordpress.org/trunk@14943 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 14:49:43 +00:00 |
Ryan Boren
|
aec821c651
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 02:42:15 +00:00 |
Andrew Nacin
|
1db01f2c56
|
Don't hide early nav menu instructions until the menu is no longer empty. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@14917 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 00:41:18 +00:00 |
Andrew Nacin
|
d617ca0f94
|
First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14852 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-24 19:50:20 +00:00 |
Andrew Nacin
|
0aa0cde880
|
Menu tweaks. Save menu locations when saving the menu. Also, centralize theme support checks and add them to menu.php. Improve some branching. Remove some old JS vars, add a missing semicolon, etc. props koopersmith. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14831 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-24 09:23:56 +00:00 |
Andrew Nacin
|
6d0ed6f1ea
|
Pixel sanity check. props filosofo, fixes #13470.
git-svn-id: https://develop.svn.wordpress.org/trunk@14799 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-21 23:35:37 +00:00 |
Andrew Nacin
|
fd3a2be9dd
|
Fix nav menu locations sorting. props jorbin, koopersmith with assists. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14772 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-20 22:43:14 +00:00 |
Ryan Boren
|
ac71984568
|
Menu styling fixes for IE. Props filosofo, ocean90. fixes #13388 #13348
git-svn-id: https://develop.svn.wordpress.org/trunk@14761 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-20 19:33:57 +00:00 |
Andrew Nacin
|
89bc55a218
|
Remove AYS for deleting a menu item. fixes #13330.
git-svn-id: https://develop.svn.wordpress.org/trunk@14756 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-20 14:55:11 +00:00 |
Mark Jaquith
|
c3ba440221
|
Add AYS notice on unsaved menu changes. see #12472
git-svn-id: https://develop.svn.wordpress.org/trunk@14741 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-19 09:56:02 +00:00 |
Mark Jaquith
|
e71536c7e3
|
Remove trailing tabs from nav-menu.dev.js
git-svn-id: https://develop.svn.wordpress.org/trunk@14740 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-19 08:44:28 +00:00 |
Ryan Boren
|
bc086f5cad
|
Add nonce to menu-locations-save. Props koopersmith. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14725 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-18 15:16:58 +00:00 |
Andrew Nacin
|
560acd7b63
|
Save menu locations meta box via ajax. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14715 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-17 23:58:56 +00:00 |
Andrew Nacin
|
2839ecfd01
|
First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: https://develop.svn.wordpress.org/trunk@14686 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-16 05:39:53 +00:00 |
Andrew Nacin
|
ae2148a866
|
Only save menu item positions on save. Had implications for draft items otherwise. see #13337, props koopersmith.
git-svn-id: https://develop.svn.wordpress.org/trunk@14615 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 01:32:48 +00:00 |
Nikolay Bachiyski
|
ad3881470e
|
I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 19:52:50 +00:00 |
Andrew Nacin
|
3dd93e488b
|
Some sortable improvements in the nav menu UI. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14531 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 04:51:57 +00:00 |
Andrew Nacin
|
1cdd8d707e
|
Remove old code that breaks menu design rendering. props koopersmith, fixes #13311.
git-svn-id: https://develop.svn.wordpress.org/trunk@14530 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 04:49:52 +00:00 |
Andrew Nacin
|
7ea215494e
|
Allow menu items to be dropped on a parent item in addition to just being dragged to the right. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14520 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-08 21:56:53 +00:00 |
Andrew Nacin
|
04919ebe8b
|
Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14475 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 17:11:52 +00:00 |
Andrew Nacin
|
8996028929
|
Remove more trailing commas in nav menus JS. props koopersmith and ocean90, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14474 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 15:40:29 +00:00 |
Andrew Nacin
|
465cce3e6a
|
Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14471 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 14:09:10 +00:00 |
Andrew Nacin
|
6c397f5e43
|
Only make one ajax call for multiple items. Also move jQuery extensions into their own function. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14468 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-05 21:23:53 +00:00 |
Andrew Nacin
|
13e9671554
|
Minor JS var declaration optimizations. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14467 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-05 21:06:43 +00:00 |
Andrew Nacin
|
e480eb8b50
|
Trim trailing whites from nav-menu js.
git-svn-id: https://develop.svn.wordpress.org/trunk@14465 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-05 20:37:32 +00:00 |
Andrew Nacin
|
971d337bd3
|
Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: https://develop.svn.wordpress.org/trunk@14464 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-05 20:29:50 +00:00 |
Andrew Nacin
|
14c06f5e81
|
Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: https://develop.svn.wordpress.org/trunk@14454 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 21:28:31 +00:00 |
Andrew Nacin
|
16d48e323b
|
More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14439 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 10:01:15 +00:00 |
Andrew Nacin
|
cc8ae672a6
|
Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14438 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 08:54:35 +00:00 |
Andrew Nacin
|
13e1cfef44
|
Have 'Add to Menu' and multiple-item drag/drop only affect one meta box at a time. props ptahdunbar, with koopersmith. Non-JS will still handle the meta boxes all together as one form. see #13220, see #13219.
git-svn-id: https://develop.svn.wordpress.org/trunk@14436 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 08:31:40 +00:00 |
Andrew Nacin
|
a87ced35aa
|
Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14434 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 07:24:49 +00:00 |
Ryan Boren
|
d783952469
|
Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:26:11 +00:00 |
Andrew Nacin
|
80ee3d1d2d
|
Check for deleted menus or something. It fixes a JS error. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14394 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 19:35:54 +00:00 |
Andrew Nacin
|
80043f2232
|
Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14373 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 16:59:51 +00:00 |
Andrew Nacin
|
db59b8e7f9
|
First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14368 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 10:28:35 +00:00 |