You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Details
When using a mobile browser, you can't use a plugin to import metadata. Instead, an error appears talking about Edit.tagInput.
In edit.js, the tagger instance assigned to Edit.tagInput is not initialized if the user is on a mobile browser. However, later code still depends on this object. In particular, the getTags code that calls a server-side plugin unconditionally uses tagInput.add_tag to add the new tags to the field. This fails on mobile.
I assume that pasting tags into the field is also broken, since it depends on the same function. The obvious fix is simply to detect whether the tagInput object is initialized, and if not then edit the textarea directly.
The text was updated successfully, but these errors were encountered:
LRR Version and OS
dev branch, Linux
Bug Details
When using a mobile browser, you can't use a plugin to import metadata. Instead, an error appears talking about Edit.tagInput.
In
edit.js
, thetagger
instance assigned toEdit.tagInput
is not initialized if the user is on a mobile browser. However, later code still depends on this object. In particular, thegetTags
code that calls a server-side plugin unconditionally usestagInput.add_tag
to add the new tags to the field. This fails on mobile.I assume that pasting tags into the field is also broken, since it depends on the same function. The obvious fix is simply to detect whether the
tagInput
object is initialized, and if not then edit the textarea directly.The text was updated successfully, but these errors were encountered: