Commit Graph

396 Commits

Author SHA1 Message Date
Mikael Nordfeldth
1c478768ad True isn't true in Javascript.
Apparently True isn't true in javascript. They fiddle around like crazy with
loose typing (causing all kinds of problems) but vars are case sensitive?!
2015-02-05 12:13:01 +01:00
Mikael Nordfeldth
ad93ad9d07 Only Firefox has predefined js function args (thanks MrB) 2015-02-05 12:05:10 +01:00
Mikael Nordfeldth
20e1257e70 Nicer behaviour for the loading of the notice input form. 2015-02-01 21:35:36 +01:00
Mikael Nordfeldth
d318b5c10e ...and don't hide it at all since we don't have a placeholder now 2015-01-16 12:10:13 +01:00
Mikael Nordfeldth
59ec9c6988 Don't close main notice input on init if composing 2015-01-16 12:00:45 +01:00
Mikael Nordfeldth
8892702f0c Initially hide input forms on the top
The status input element would attract focus after page load, meaning
if you'd scrolled down a bit then you would be rocketed back up again!
2015-01-16 11:19:22 +01:00
Mikael Nordfeldth
44455bae2a Make sure we add ajax=1 to inputform if using javascript 2015-01-12 12:13:03 +01:00
Mikael Nordfeldth
40412b6b79 status update placeholder removed, javascript not required to post 2015-01-08 18:04:46 +01:00
Hannes Mannerheim
5ca625e470 make .attachment.more ajax work with ajax-loaded content, i.e. infiniteScroll 2014-10-20 16:14:37 +02:00
Hannes Mannerheim
c2fa3ca846 make show more comments work with ajax loaded stuff, i.e. infinitescroll 2014-10-20 16:12:35 +02:00
Hannes Mannerheim
37becd210e makes ajax-repeat work with ajax loaded content 2014-10-06 01:13:38 +02:00
Hannes Mannerheim
1475c775e7 bug, make ajax submission work again 2014-10-06 00:49:35 +02:00
Mikael Nordfeldth
414a95a784 Initial move towards microformats2
No validation has been attempted yet. Lots of changes left. This
is visibly not (very) different from the previous CSS layout. But
some simplifications have been made.

Might cause issues with local changes to themes and CSS. Also maybe
javascript which depends on certain legacy microformats elements.

The move to microformats2 is motivated by the announcement that all
microformats should be migrated to version 2, as of 2014-06-20 at:
http://microformats.org/2014/06/20/microformats-org-turns-9-upgrade-to-microformats2
2014-06-22 17:11:04 +02:00
chimo
8be96a7ebe Catches GeoCookie JSON parsing error 2014-05-31 18:11:04 -04:00
Mikael Nordfeldth
d7c40e77b2 Show more links work with AJAX-retrieved HTML
Attachment_ajaxAction has been removed since AttachmentAction handles
AJAX calls splendidly.
2014-05-19 00:56:21 +02:00
Mikael Nordfeldth
c075b9f730 Removed 'bookmarklet' since we have Bookmark plugin 2014-05-10 02:50:56 +02:00
Mikael Nordfeldth
1e37f374b3 Making us less dependant on javascript trust
Many of the microapps are pretty javascript dependant, but at least
we should allow users to get to the new notice field without allowing
javascript to run in the browser. :)
2014-02-24 02:05:31 +01:00
Mikael Nordfeldth
8dafce34c3 LoginAction somewhat converted to FormAction 2013-10-30 12:23:10 +01:00
Mikael Nordfeldth
11f43637b2 Fixed regression from jquery-cookie update
cookieValue was matched against null, not undefined.
2013-09-14 13:38:50 +02:00
Mikael Nordfeldth
a4d04d24de Fixed regression from util.js updates + syntax cleanup
We introduced a regression in 6fa9062d28
based on syntax error, as a curly brace ({) was lost. This is now fixed.
2013-09-10 15:14:42 +02:00
Brian Tegtmeier
6fa9062d28 Changed bind() and live() to on(). Changed .attr() to .prop() for checked and disabled. Shortcut for (document).ready(). This is the first attempt to convert live() elements to on() according to http://api.jquery.com/live/. 2013-09-10 13:28:49 +02:00
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
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
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
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
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
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
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
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