Author Topic: save folder action changes folder position in "folder management list"  (Read 4776 times)

Offline chunyang

  • Newbie
  • *
  • Posts: 1
Just downloaded version "Stable: 0.7.2", and found this problem:

Say I have a folder INBOX.News.BBC News, it used to display in the folder management list like below:
Code: [Select]
INBOX
News
    BBC News
But after I changed the name from "BBC News" to "BBC" and clicked "Save" button, the folder list refreshes and it show me the following order:
Code: [Select]
INBOX
BBC
News
I took a look at the HTML source code and found the problem below:
Code: [Select]
...
<tr id="rcmrow1" class="odd">
<td class="name">Inbox</td>
<td class="subscribed">...</td>
</tr>
<tr id="rcmrow1334887951446" class="">
<td class="name">&nbsp;&nbsp;&nbsp;&nbsp;BBC</td>
<td class="subscribed">...</td>
</tr>
<tr id="rcmrow2" class="even">
<td class="name">News</td>
<td class="subscribed">...</td>
</tr>
....

It looks like folder saving action has assigned a new id to the row which doesn't follow the original order any more.

However if I refresh the screen then all the folders are back to their lawful places again.

Is this fixed in 0.8 - beta?