Commit graph

6 commits

Author SHA1 Message Date
Máté Szabó b551d521f9 SUS-3245: Emit scroll event on Portable Infobox collapsible group state change (#14207)
* SUS-3245: Emit scroll event on Portable Infobox collapsible group state change

* SUS-3245 use template literal
2017-11-14 11:32:16 +01:00
idradm de6599083b XW-2569 fix multiple header collapsing 2017-01-11 14:43:45 +01:00
Inez Korczynski 553f4521a0 VE-2013: Fix problem with PI JS not being executed in preview by using wikipage.content hook
JavaScript for PortableInfoboxes MediaCollections and CollapislbeGroups initialization was executed once while loading the file - so it was working propery for most common case which is displaying article (the view page). However sometimes content is loaded dynamically, after JavaScript already loaded and executed, and for such cases intialization was not happening. In particular such case is loading article preview from within the Classic Editor. Problem is solved by using solid and common MW approach of MediaWiki JavaScript hooks - specifically one named 'wikipage.content' which is meant to be fired whenever wikipage (in any context) is being displayed.
2015-12-04 20:38:10 +00:00
Paul Oslund af4026b386 VE-1996: Create JS to toggle pi-collapse-closed class 2015-10-27 16:52:42 +00:00
Paul Oslund f9055fe97c VE-1961: Handle multiple image collections in infobox 2015-10-21 02:55:23 +00:00
Paul Oslund e6c81a3ea2 VE-1961: Render image collection tabs in infobox 2015-10-20 16:40:56 +00:00