fixed bug in the asset manager that caused drag and drop to fail if the ordering of ranks was not orderly.
This commit is contained in:
parent
7e24f5041d
commit
c7829b88ee
1 changed files with 3 additions and 3 deletions
|
|
@ -318,7 +318,8 @@ function AssetManager_dragStop() {
|
|||
url =url + "&";
|
||||
}
|
||||
|
||||
url = url + "func=setRank&rank="+ this.overObject.metaData.rank;
|
||||
alert(this.overObject.id);
|
||||
url = url + "func=setRank&rank="+ this.overObject.metaData.rank;
|
||||
|
||||
|
||||
location.href=url;
|
||||
|
|
@ -465,8 +466,7 @@ function AssetManager_addAssetMetaData(url, rank,title) {
|
|||
obj.url = url;
|
||||
obj.rank = rank;
|
||||
obj.title = title;
|
||||
this.metaData[rank-1] = obj;
|
||||
|
||||
this.metaData[this.metaData.length] = obj;
|
||||
}
|
||||
|
||||
//********Event Handlers***********
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue