Commit Graph

523 Commits

Author SHA1 Message Date
nacin
0a71b5dc8a Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 17:11:52 +00:00
nacin
494290312a Remove more trailing commas in nav menus JS. props koopersmith and ocean90, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 15:40:29 +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
e34150ab5b Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:09:10 +00:00
nacin
8b27606b04 Only make one ajax call for multiple items. Also move jQuery extensions into their own function. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 21:23:53 +00:00
nacin
2d7f62489d Minor JS var declaration optimizations. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 21:06:43 +00:00
nacin
7b8588152f Trim trailing whites from nav-menu js.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:37:32 +00:00
nacin
585ea858af Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:29:50 +00:00
nacin
3d76f61923 Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 21:28:31 +00:00
nacin
0891a9dea0 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: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin
3a69ab9602 Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:54:35 +00:00
nacin
ac7687ee8d 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: http://svn.automattic.com/wordpress/trunk@14436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:31:40 +00:00
nacin
7466fadd24 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: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin
9dd4702113 Check for deleted menus or something. It fixes a JS error. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:35:54 +00:00
dd32
3b5de7199e Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:29:17 +00:00
dd32
9a87641ad8 Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
git-svn-id: http://svn.automattic.com/wordpress/trunk@14387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:23:44 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
nacin
0c2e93aee7 Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 16:59:51 +00:00
nacin
08f650de1a First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:28:35 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin
c3d2524889 Fix the nav menu ajax spinners (again).
git-svn-id: http://svn.automattic.com/wordpress/trunk@14340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:05:55 +00:00
nacin
16f6590bc3 Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 19:09:10 +00:00
nacin
54763a0e76 Clarify menu creation versus save. props duck_, see #13134. Check in scripts for r14332, see #13204.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:15:41 +00:00
nacin
c32241fc4b Fix ajax on add menu item boxes. props koopersmith, see #13204
git-svn-id: http://svn.automattic.com/wordpress/trunk@14332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:12:13 +00:00
nacin
7bb32597b7 Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:10:54 +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
90ea03383f Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: http://svn.automattic.com/wordpress/trunk@14285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:44:08 +00:00
nacin
8c9f71bb57 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 18:30:32 +00:00
nacin
b8b7d95dd0 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:09:00 +00:00
ryan
e879a9ab0e New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
dd32
5cd73bf182 Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: http://svn.automattic.com/wordpress/trunk@14143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 07:37:45 +00:00
dd32
f4c48adc7f Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
git-svn-id: http://svn.automattic.com/wordpress/trunk@14125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:54:44 +00:00
markjaquith
46a353ece7 TB_iframe fixes for stuff that broke in r14015. props scribu. fixes #12878. see #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 13:52:12 +00:00
nacin
2581314a95 Convert xfn.js to jQuery. Make the calculated field readonly if js. props rmccue. fixes #12551
git-svn-id: http://svn.automattic.com/wordpress/trunk@13984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 03:53:14 +00:00
nacin
2501fac129 Remove Gears from UI. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 00:48:28 +00:00
nacin
589997d8cb Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin
baa8cd08bb Fix display of 'enter title here'. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:27:46 +00:00
nacin
d05e120d44 Add 'enter title here' text to title box. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 10:23:17 +00:00
nacin
e7486800d9 Add AYS to "Install Now" link in plugin installer. fixes #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:27:23 +00:00
dd32
ea03f2272d Use the correct slug value for reverting post slug inline editing. Props mitchoyoshitaka. Fixes #12788
git-svn-id: http://svn.automattic.com/wordpress/trunk@13909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 10:16:55 +00:00
dd32
db0706ea0e Add Password Mismatch feedback to the Password Strength Meter. Props dancole. Fixes #12576
git-svn-id: http://svn.automattic.com/wordpress/trunk@13900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 08:45:51 +00:00
dd32
f0088e38eb Add Repeat-x/repeat-y support to Custom Backgrounds, Add Live preview of Repeat option, Use Thumbnail of background for Background Preview. Props jshreve. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:53:04 +00:00
dd32
4422f6d1fd Display the list of Terms in a non-hierarchical taxonomy on the Post Edit page even if they cannot modify them. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:37:10 +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
nacin
9c30277635 Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 22:26:27 +00:00
nacin
ba6f1cba07 Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
dd32
6c75300614 Better cross-browser support for Custom Background image alignment preview. Props eddieringle. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 07:14:14 +00:00
dd32
3d5e274179 Cleanup of Custom Background. Move JS to external file, Add @since, Remove redundant steps functionality, Preview of Image alignment. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 06:06:18 +00:00
nacin
cea2e6eaa3 Remove JS nav-menu functions that we no longer use. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:44:59 +00:00