Commit Graph

472 Commits

Author SHA1 Message Date
Brion Vibber
1b25b75b53 Use older-style top reply form when replying from old-school conversation tree view (labeled with .old-school class on one of its parent nodes). 2011-09-26 12:54:33 -07:00
Evan Prodromou
e416f9d28e forgot to cat a bunch of useless separate files when minifying 2011-07-08 10:04:31 -04:00
Evan Prodromou
1598050f54 Show more menu items when you click More
I added the necessary JavaScript to show more menu items when you click More.
2011-07-07 10:26:07 -04:00
Evan Prodromou
97d77a7c75 Revert "add a 'more' button for groups menu"
This reverts commit 3226f2bef6.
2011-07-06 10:17:22 -04:00
Evan Prodromou
3226f2bef6 add a 'more' button for groups menu 2011-07-05 19:20:44 -04:00
Zach Copley
f3eb83d8a5 Update design settings CSS output 2011-06-06 13:38:28 -07:00
Samantha Doherty
0f5aab8cd5 Small syntax fix for inline reply placeholder. 2011-05-18 09:23:55 -04:00
Zach Copley
c05b3b5bd2 Revert "Kill off all document._importNode() calls except the ones used with the JQuery Form plugin (fixes an IE7 issue)"
This reverts commit 997d160002.

Conflicts:

	js/util.min.js
2011-05-02 11:57:25 -07:00
Zach Copley
dab27ac9fd Revert "Fix syntax error"
This reverts commit d1d530370d.
2011-05-02 11:55:28 -07:00
Zach Copley
6af7f8cd64 Revert "Revert back to using document._importNode() for ajax posting"
This reverts commit b6ed694995.
2011-05-02 11:55:16 -07:00
Zach Copley
3187d6184f Revert "Arg. Gotta remember to take out console.log() debug statements before committing :D"
This reverts commit bd3eb331a8.
2011-05-02 11:55:04 -07:00
Zach Copley
bd3eb331a8 Arg. Gotta remember to take out console.log() debug statements before committing :D 2011-04-27 19:34:51 -07:00
Zach Copley
b6ed694995 Revert back to using document._importNode() for ajax posting 2011-04-27 19:31:27 -07:00
Zach Copley
e1d36eae2d Minimize latest util.js 2011-04-27 18:31:49 -07:00
Zach Copley
d1d530370d Fix syntax error 2011-04-27 18:27:42 -07:00
Zach Copley
997d160002 Kill off all document._importNode() calls except the ones used with the JQuery Form plugin (fixes an IE7 issue) 2011-04-26 17:14:45 -07:00
Zach Copley
a4077d472f Just had to update util.min.js one more time for extra merge conflict fun! 2011-04-18 16:50:02 -07:00
Zach Copley
76ea9384a3 Remove billions of debugging statements and extra space 2011-04-18 16:49:32 -07:00
Zach Copley
583b903559 More work trying to understand util.js and get my ajax working right 2011-04-18 16:49:00 -07:00
Zach Copley
d1443a6bd9 Getting some traction here on better QnA Ajax 2011-04-18 16:47:33 -07:00
Zach Copley
6bf29ff684 QnA - Work on getting questions and answers to appear correctly inline 2011-04-18 16:46:11 -07:00
Samantha Doherty
47ae0e31c7 New and hopefully correct util.min.js. 2011-04-18 12:44:57 -04:00
Samantha Doherty
e8e6d494d2 This util.min.js is pining for the fjords. 2011-04-18 12:42:00 -04:00
Samantha Doherty
027cdd4620 Need to be a little more specific about infield input labels. 2011-04-18 11:45:02 -04:00
Samantha Doherty
e23dcf513e Update minified util.js 2011-04-18 01:04:00 -04:00
Samantha Doherty
3b5966430c Apply infield labels to notice form inputs. 2011-04-18 00:38:26 -04:00
Samantha Doherty
572f1d582c Only auto-focus on textarea for main notice form. 2011-04-18 00:31:47 -04:00
Samantha Doherty
1b8f9650d9 New Infield Labels jQuery plugin for microapp forms and other future uses. 2011-04-18 00:24:25 -04:00
Zach Copley
443b495a0b Fix inline replies (pretty sure I got it this time) 2011-04-17 20:34:17 -07:00
Zach Copley
eaca17be58 Allow sending in a function to be run on successful XHR 2011-04-17 18:36:59 -07:00
Evan Prodromou
82577a9dc2 don't try to pre-init the @-reply 2011-04-16 16:23:31 -04:00
Brion Vibber
79190c87b2 Fix regression in inline replies to newly added messages (regression from my fixes w/ the realtime stuff) 2011-04-15 15:03:20 -07:00
Zach Copley
03de85ed46 Make it so input forms that don't have navigation don't accidentally get hidden. Add a "nonav" class to them. 2011-04-12 14:20:19 -07:00
Evan Prodromou
09cffc1928 hide and disable ToSelector for replies 2011-04-11 12:55:49 -04:00
Shashi Gowda
c44a94e8f5 Port autocomplete from tagInput to jQuery UI, send Last-Modified header and look for it in JS. 2011-04-08 14:51:05 +05:30
Shashi Gowda
ad86eb78d3 Merge remote-tracking branch 'mainline/1.0.x' into people_tags_rebase
Conflicts:
	js/util.min.js
	lib/default.php
2011-04-07 23:13:45 +05:30
Evan Prodromou
6a7f3501e5 forgot other two files while minifying 2011-04-05 12:27:07 -04:00
Evan Prodromou
ac24ed3dff add checkbox initialization 2011-04-05 11:48:53 -04:00
Shashi Gowda
5a2bab07b2 Merge remote-tracking branch 'mainline/1.0.x' into people_tags_rebase
Conflicts:
	actions/tagother.php
	classes/Profile.php
	classes/Profile_tag.php
	js/util.min.js
2011-03-30 15:47:42 +05:30
Brion Vibber
2707a481e4 Enhancement for 'ajax' form class: submit buttons behave more like normal submissions, submitting their name/values through a hidden field.
This should work well for simple cases, but could conceivably create false positives if there's a click handler on the specific buttons, depending on whether event processing passes it on. Double-check if you're doing such forms along with the 'ajax' class!
2011-03-23 15:21:31 -07:00
Shashi Gowda
31c1177970 Merge branch '1.0.x' into people_tags_rebase
Conflicts:
	EVENTS.txt
	actions/peopletag.php
	actions/tagother.php
	classes/Notice.php
	js/util.js
	js/util.min.js
	lib/accountprofileblock.php
	lib/action.php
	lib/activityobject.php
	lib/command.php
	lib/personalgroupnav.php
	plugins/OStatus/OStatusPlugin.php
2011-03-22 07:56:25 +05:30
Brion Vibber
4afa3caae3 ajax load for additional inline replies; /replies variant of conversationview 2011-03-17 16:27:42 -07:00
Brion Vibber
057a831026 Fixes for race conditions between Realtime plugin and the AJAX display of inline replies.
* keep the notice-reply-placeholder around, but hidden
* insert things before the placeholder, rather than appending to the end of the list.
* append the active form after the hidden placeholder, so things inserted before the placeholder never come after it
* Realtime: check pre-existing notice visibility a second time after loading the HTML for a notice. Fixes bug where sometimes your own post would be shown twice because the Realtime notification arrived before the AJAX posting returned, but Realtime's AJAX fetch of the notice returned after.
2011-03-17 15:54:40 -07:00
Brion Vibber
7d202e9c61 Detect and show AJAX errors on FormXHR submission handling.
Previously we threw away errore reported by the actual AJAX submission and only used whatever error the browser reported to us; this didn't help if we reached the server ok but had a problem there.
We now extract the #error if given and use that in the alert().
Also should now show 'Unknown error' instead of a crappy generic 'something died in jQuery' when we get a 200 response but bogus return data.
2011-03-16 16:10:43 -07:00
Evan Prodromou
41420449f8 Merge branch 'jqueryui' into 1.0.x
Conflicts:
	lib/action.php
2011-03-16 09:56:26 -04:00
Evan Prodromou
afa1aa6c9b Revert "use jquery-ui for input_forms tabset"
This reverts commit c4bada9022.
2011-03-16 09:53:27 -04:00
Brion Vibber
096f99be16 (update util.min.js for recent changes) 2011-03-11 15:31:58 -08:00
Brion Vibber
2bccd18d9a JS optimization: move creation of inline reply placeholders to server-side so we don't have to create them client-side (which causes reflows and takes about 25-30ms on my test system)
Using live instead of bind for the event handling, we don't have to play any games on the ones that we do add at runtime. Yay!
2011-03-11 15:20:20 -08:00
Brion Vibber
10e5cb482e JS performance: speeding up initialization by consolidating event handlers for reply buttons
Saved about 60ms on my test system during page setup by using a single global 'live' click handler for reply links.
No longer need to seek out and attach event handlers on every notice, yay!
2011-03-11 15:03:15 -08:00
Brion Vibber
0f3af3e3b7 Keep 'Status' tab current while showing the placeholder -- pretend like it's a mini version of the status notice form :D 2011-03-10 18:01:40 -08:00