Commit Graph

159 Commits

Author SHA1 Message Date
Andrew Robert Nicols 87b8419f80 MDL-31040 Correct LTR language issue and inconsistency in display 2012-01-12 14:01:51 +00:00
Rossiani Wijaya 81284044d8 Fix course ajax to be compatible with language packs. 2010-12-20 12:15:16 +01:00
Petr Skoda 0667103514 MDL-25611 browser detection cleanup and improvements 2010-12-08 06:51:54 +00:00
David Mudrak b31b2d842d MDL-14790 ajax delete confirmation box now uses the same wording as the non-ajax confirmation page 2010-11-09 11:55:26 +00:00
Petr Skoda e8b32e2bfa MDL-24316 ajax course edit now works with orphaned activities 2010-10-14 14:07:01 +00:00
Sam Hemelryk 5233807ca7 course MDL-22535 Fixed spacer image in ajax course editing 2010-05-27 01:49:57 +00:00
Petr Skoda 0bb38e8c04 MDL-21400 JS != ajax and page requirements are also CSS - making new special lib file for page requirements 2010-02-07 08:45:21 +00:00
Petr Skoda dcd6229201 MDL-21400 fixed yui2 laoding from footer 2010-02-06 19:39:28 +00:00
Petr Skoda 26114d526f MDL-21400 removing some YUI2 extras 2010-02-06 15:59:29 +00:00
Petr Skoda 3244d9cc57 MDL-21400 load as few YUI2 as possible 2010-02-06 15:26:47 +00:00
Petr Skoda 3b044ba347 MDL-21400 converting help tooltips to YUI3/2 2010-02-06 15:08:12 +00:00
Petr Skoda 593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
Petr Skoda 60409fe103 MDL-21532 ->in_head() now really exceptional (after overrlib removal there will be just a few of them) 2010-02-06 14:09:33 +00:00
Petr Skoda 781bd8aed5 MDL-21400 removed js_object_init, the new js_init_call is a new replacement which encourages our new standard coding style 2010-02-06 13:56:31 +00:00
Petr Skoda cd9729e405 MDL-21400 ->in_head() from deprecated data_for_js(), this actually also fixes order of loading of libs+init code 2010-02-06 13:30:15 +00:00
Petr Skoda 4abd5b9b2a MDL-21400 migrated falsh detection to YUI3 2010-02-06 12:58:19 +00:00
Petr Skoda c6f5f39ad5 MDL-21400 fixed & quoting issues 2010-02-06 12:11:34 +00:00
Petr Skoda 2169e664f2 MDL-21503 RIP global Y 2010-02-05 08:31:52 +00:00
Sam Hemelryk 53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Petr Skoda 76c0123b0e MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable) 2010-02-04 22:41:49 +00:00
Petr Skoda 4c508047eb MDL-21400 converting forms stuff to new M namespace and using standardised JS module coding style, fixed some regressions - for now works in FF only 2010-02-03 14:36:53 +00:00
Petr Skoda 76418c143b MDL-21400 fixedsloppy regression, sorry 2010-02-03 09:26:38 +00:00
Sam Hemelryk ebfb8f1371 ajaxlib MDL-21435 Fixed regression from recent updates: Notice of undefined variable 2010-01-28 06:47:07 +00:00
Petr Skoda 7d7a7e908f MDL-21404 RIP $PAGE->requires->*()->now() 2010-01-26 10:44:17 +00:00
Petr Skoda 88515081c8 MDL-21403 RIP $PAGE->requires->*()->asap() 2010-01-26 10:42:25 +00:00
Petr Skoda 5a197e9130 MDL-21400 maring data_for_js as deprecated because it encourages bad coding style 2010-01-26 10:12:10 +00:00
Petr Skoda c66a13b2d8 MDL-21435 moje JS improvements 2010-01-26 08:58:51 +00:00
Petr Skoda e3f4e3cadf MDL-21400 yui3 lib includes from php are not necessary any more, removing from public API 2010-01-26 08:38:00 +00:00
Petr Skoda 2b8c3f8c1a MDL-21435 api changes and simplification needed for JS caching and compression 2010-01-26 08:33:21 +00:00
Petr Skoda 9786fbfac4 MDL-21400 migrated roles JS to YUI3 and new modular structure 2010-01-24 19:37:46 +00:00
Petr Skoda 7e5f3db4d4 MDL-21400 global Y is evil 2010-01-24 10:41:15 +00:00
Petr Skoda 3b01539ccc MDL-21400 global Y revisited, I really think it is better to pass it around properly, this could help a lot in future if we have multiple versions of YUI installed; reverted js_function_call() and added new js_init_call() instead which should be hopefully easier to use and in theory could replace all other $PAGE->requires->js_*; finished implemenetation of js_module() 2010-01-23 17:08:18 +00:00
Petr Skoda bca0975478 MDL-21170 migrated code to new M.util.image_url() function that returns correct theme images 2010-01-22 10:34:09 +00:00
Petr Skoda ef502357f4 MDL-21170 improved comments module, added new support for module parameter in js_function_call(), fixed bug in comments on frontpage - see tracker for more info 2010-01-22 10:10:27 +00:00
Dongsheng Cai adacb0fe71 "MDL-21170, comment system upgraded to yui3" 2010-01-22 07:35:56 +00:00
Dongsheng Cai 840912d5cf "MDL-21170, rename filepicker to core_filepicker, upgrade filemanager to yui3 module" 2010-01-22 03:02:09 +00:00
Petr Skoda 1be3ec803b NOBUG fixed typo in comment 2010-01-21 22:21:40 +00:00
Petr Skoda 9598d578bb MDL-21420 modole_cfg converted to M.cfg 2010-01-21 22:19:46 +00:00
Petr Skoda 7b42e81a76 MDL-21170 migrated filepicker to new YUI3 loading, tested in editor only, the filemanager and picker elements still have some problems, sorry for that 2010-01-21 22:04:31 +00:00
Petr Skoda e50b4c8972 MDL-21420 refactoring towards global M 2010-01-21 20:55:58 +00:00
Sam Hemelryk 1ce15fdac8 navigation MDL-21366 Converted dock and navigation to YUI3 modules and added some supporting structures to outputcomponents and ajaxlib 2010-01-21 08:38:50 +00:00
Petr Skoda d194928e94 MDL-21402 fixed nasty regression :-D 2010-01-20 21:54:15 +00:00
Petr Skoda 227255b802 MDL-21402 new js_writer abstraction + otehr minor improvements 2010-01-20 20:01:24 +00:00
Petr Skoda f5de8ee77b MDL-21401 killed top_of_body support because it does not encourage good coding style (agreed with Tim), skiplinks conversion to html_writer 2010-01-20 18:30:55 +00:00
Petr Skoda 08fac7341f MDL-21240 new $PAGE->requires->js_init_code('js code;') intended for simple initialisation of YUI stuff in page, this should help to reduce uncached HTTP requrests per page because we would not have to create tons of .js files each with one short init function; we have to make sure ppl do not abuse this; this coudl also allow theme designers to tweak module JS if we store the JS fragment in plugin renderer where it in fact belongs ;-) + fixed some docs 2010-01-19 23:08:06 +00:00
Petr Skoda c845f827e5 MDL-21240 fixed event docs 2010-01-19 22:07:13 +00:00
Petr Skoda d96d8f03b4 MDL-21240 adding new level to requirements manager, now the function calls and events have access to "Y." 2010-01-19 22:01:12 +00:00
Petr Skoda 8f29813160 MDL-21240 shortened urls now start with / everywhere 2010-01-19 12:59:34 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda f2ab0d0694 MDL-21240 more migration to html_writer 2010-01-18 20:39:47 +00:00