[ 
https://issues.apache.org/jira/browse/VCL-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15764814#comment-15764814
 ] 

ASF subversion and git services commented on VCL-1003:
------------------------------------------------------

Commit 1775330 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1775330 ]

VCL-1003 - drag and drop support for moving privilege nodes

moved loading of nodedropdata global javascript variable to an AJAX call to 
speed up page load time

privilege.php:
-modified viewNodes: removed block of code that prints global variable 
nodedropdata; added div that displays that drag and drop data is loading; set 
Add Child button to be disabled by default (adding a child modifies 
nodedropdata)
-modified AJrefreshNodeDropData: added check for nodedropdata not being 
initialized; if not, call initDropData

privilege.js:
-added declaration of global variable nodedropdata
-modified mouseRelease: added return if nodedropdata not initialized
-added initDropData - enabled Add Node button if it exists, hides loading div
-modified checkCanMove and checkNodeDrop: return false if nodedropdata not 
initialized
-modified refreshNodeDropData: added timeout parameter to call to RPCwrapper

> drag and drop support for moving privilege nodes
> ------------------------------------------------
>
>                 Key: VCL-1003
>                 URL: https://issues.apache.org/jira/browse/VCL-1003
>             Project: VCL
>          Issue Type: New Feature
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>
> Being able to drag and drop privilege nodes to reorganize things would be 
> helpful. Drag and drop is supported by the Dijit tree widget being used for 
> the privilege tree. So, the proper hooks just need to be added with 
> supporting php functions to update the database.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to