cubicweb #4959538 uilib.js helper does not honour explicit JSString marker [validation pending]

e.g:

>>> from cubicweb.uilib import js
>>> from cubicweb.utils import JSString
>>> print js.foo(1, {'callback': JSString('cw.ajax.callback')})

should output:

foo(1, {"callback": cw.ajax.callback})

not (as of now):

foo(1, {"callback": "cw.ajax.callback"})

See cubicweb-slickgrid for an implementation.

prioritynormal
typebug
done in3.20.7
load0.250
load left0.000
closed by#da1cb2b12fe1 [uilib] `uilib.js` helper now honors explicit JSString (closes #4959538)
patch[uilib] `uilib.js` helper now honors explicit JSString (closes #4959538) [applied]