Forum

Christian
      2 years ago #30284
      Up
      0
      Down
      ::

      Cool, thank you for the fast answer! When I look at https://sapui5.hana.ondemand.com/#/api/jQuery%23methods, only a very small set of jQuery functions is available, is this correct?

      I would like to use this: https://jqueryui.com/draggable/#default

      For this, I have a Script snippet in my Process Designer:

      $(“Screen1–Button1”).draggable();

      When I load the page, I get this console error:

      Uncaught (in promise) TypeError: $(…).draggable is not a function
      at f.onAfterShow (/appDirect/JQueryTest/controller/Screen1-dbg.controller.js?eval:41:26)
      at j (/system-library/OpenUI5/1.71.22/resources/sap-ui-core.js:984:230)
      at f.d._handleEvent (/system-library/OpenUI5/1.71.22/resources/sap-ui-core.js:984:378)
      at f.b.onAfterRendering (/system-library/OpenUI5/1.71.22/resources/sap/m/library-preload.js:3652:511)