ForeignStructuredUpload: Stop using methods from CapsuleMultiselectWidget
authorPrateek Saxena <prtksxna@gmail.com>
Thu, 28 Jun 2018 07:13:29 +0000 (12:43 +0530)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 28 Jun 2018 12:57:30 +0000 (12:57 +0000)
commitd9b9bf77fc4a2d118f090bcfa89b656ae8b4f3d6
tree880a91320677d322714f05d5822a3a5646b564ff
parentc04f2eb05d1babda486275fe88d872f7b0393d30
ForeignStructuredUpload: Stop using methods from CapsuleMultiselectWidget

After I2146d8ce6505dae55750b4b12bd806b83796c1c5 CategoryMultiselectWidget
inherits from TagMultiselectWidget instead of CapsuleMultiselectWidget.

TagMultiselectWidget has a setValue method instead of setItemsFromData,
and instead of getItemsData we need to use getItems and extract the data.

Bug: T183299
Bug: T198362
Change-Id: Iff1f8a520a01e6771d6b496a87e4749b7c30a877
resources/src/mediawiki.ForeignStructuredUpload.BookletLayout/BookletLayout.js