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
Is there any way to store custom position to the base, so when the user next time login, the position of the box are not changed. I don't want to store position to local storage or cookie, I want to store position to API.
The text was updated successfully, but these errors were encountered:
first, you need to get all div id in order like on your web page (when you with dragula change position), and after, I push this ID in the array and send to the server var orderById = []; var orderDiv = $("#dragulaBox").children("div"); angular.forEach (orderDiv, function(key, value){ orderById.push(key.id); }) var data = {graphsConfig: orderById}; $http.post(someURL, data, config)
And, when you again come back to site, you get from your API array with order.
Is there any way to store custom position to the base, so when the user next time login, the position of the box are not changed. I don't want to store position to local storage or cookie, I want to store position to API.
The text was updated successfully, but these errors were encountered: