Age | Commit message (Collapse) | Author |
|
- removed extra leading whitespaces
|
|
- removed extend similar to previous jQuery updates (doesn't work the same with jQuery 1.4+)
|
|
since only gallery.common.js is modified.
Now that I understand the problem and the fix, I'm not sure I can explain why it
*used* to work with older jQuery...
|
|
in gallery_autocomplete when "multiple" isn't set. Fixed some
harmless syntax issues that js2-mode helpfully pointed out.
|
|
- removed fake attr settings (possible compatibility issue with newer jQuery)
- replaced with extra class
- fixed formatting
- still doesn't work: addClass works, but hasClass always returns false when function runs again
|
|
|
|
are correct, all titles are correctly sized, and the dialog boxes go to
the top for older themes, too.
|
|
Dialog centering, sizing, etc. seem to be fixed!
|
|
already been broken in v3.0.4...)
|
|
a link/menu.
If they come from a context menu, they're still really broken.
|
|
json2.js -> json2-min.js ; jquery.localScroll.js -> jquery.localscroll.js
While this is irrelevant for Wind, changing the filenames back to what we used
to have ensures that we don't break contributed themes.
--HG--
rename : lib/jquery.localScroll.js => lib/jquery.localscroll.js
|
|
Updated success callbacks for gallery.panel.js and gallery.dialog.js
|
|
|
|
longer need to save xhr ahead of success.
Tested and seems to work well, even with watermarks on Chrome (previously an issue).
|
|
- json.js 2012/10/08
- used non-minified to be consistent with other libraries
- updated filename in page.html.php call
|
|
- jquery.js 1.9.1 (2013/02/04)
- jquery.cookie.js 1.3.1 (2013/01/30)
- jquery.scrollTo.js 1.4.5 (2012/12/14)
- jquery.localScroll.js 1.2.8b (2012/09/21)
Note: jquery.jeditable.js and jquery.MultiFile.js still removed, as they are no longer used.
|
|
|
|
|
|
- jQuery 1.90
- jQuery UI 1.10
- Superfish 1.5.1 (minus all plugins)
- jQuery Form 3.26.0-2013.01.28
Deleted all other jQuery plugins for now.
- Reworked autocomplete to use the latest jQuery code.
- Deleted references to $.browser.msie, no longer supported
- Basic CSS support for autocomplete - lots more work needed there
|
|
switch over to the byte-range version of pseudostreaming, let's see if
that works better than what we have currently. Fixes #1899.
|
|
in dialogs. Fixes #236.
|
|
|
|
against UTF-7, and create a $.gallery_autocomplete variant of jQuery's
autocomplete that expects the first line to be a <meta> tag and
discards it. More complete fix for #1871.
|
|
to start album upper border not as nh = -n
|
|
* Resolves #1634
|
|
* Fixes #1642
|
|
|
|
This way small images on pages with a ton of comments don't get pushed
way down. Fixes #1626.
|
|
https://github.com/gallery/gallery3/commit/bb35aefffbc287efc9823abd4b0e451b86c37378
in an attempt to resolve #797.
Fixes #1640.
|
|
to integer. Fixes overflow probelm that causes #1490. Thanks to
nkinkade for the fix.
|
|
#1541.
|
|
https://github.com/douglascrockford/JSON-js/blob/master/json2.js
by Douglas Crockford at 8d11dc6950eafc7d01f141ce91d4f585caa29f3b. Fixes #1351.
|
|
|
|
to the correct location.
So lets fix that up. But first undo the reverts:
93d1a8103e757a87fb006f2389f0ee24497367a7 "Revert 'Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway.'"
f14290f34f097f525a56bc00070b73fba1fb8e2c "Revert 'Clean up white space'"
ff8ee5bdfcc0d35e14f3124d349625814ec8771a "Revert 'Add some whitespace.'"
|
|
themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway."
This reverts commit 42517041753d460c337a2086c0346018ad582e8d.
|
|
and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway.
|
|
1) Prevent it from "bouncing" which happens when we queue up a lot of
open and close events. Stop any running animations before starting
new ones. This fixes #1340.
2) Prevent a bug that's not really visible to the user where we wind
up re-initializing a context menu over and over which results in us
binding tons of hover events. I don't think this causes any serious
damage, but it's probably not good.
|
|
of using CSS selector lookups for every operation. I assume (but have
not verified) that this is more efficient.
|
|
centered. Partial fix for #1354.
|
|
cbba45fffc7368280e9529f55e108d0080175b6a with a namespaced jQuery
custom event. This is way more portable.
|
|
The photo view page caches the dimensions of the full size and then
renders it in Javascript. But after rotation, those dimensions are no
longer valid. Create a new function on the items controller that
returns the appropriate dimensions, then add a hook on
$.gallery_replace_image and implement the hook on the photo view page
to have it make an async call to get the new dimensions.
Fixes ticket #1317
|
|
|
|
|
|
|
|
by the following rules:
1) An initial dialog or panel load can take either HTML or JSON, but
the mime type must accurately reflect its payload.
2) dialog form submits can handle a pure HTML response, but the mime
type must also be correct. This properly resolves the problem
where the reauth code gets a JSON response first from the reauth
code, and then an HTML response when you reauth and continue on to
a given form -- try it out with Admin > Settings > Advanced.
3) All JSON replies must set the mime type correctly. The json::reply
convenience function does this for us.
4) By default, any HTML content sent back in the JSON response should be
in the "html" field, no longer the "form" field.
The combination of these allows us to stop doing boilerplate code like
this in our controllers:
// Print our view, JSON encoded
json::reply(array("form" => (string) $view));
instead, controllers can just return HTML, eg:
// Print our view
print $view;
That's much more intuitive for developers.
|
|
information. We need to replace the contents of the entire dialog, not just the form, otherwise, there could be text floating around that doesn't make sense.
|
|
|
|
mime type returned to determine the content type.
|
|
gallery.dialog.js in 9538b3888dadbe3a6fac72e2a97f97c7db3d86f2
|
|
on a query param to urls that appear in dialogs. This keeps things simpler.
|