alecpl
2010-02-02 c5c3ae791dbabcfacf4d1b2db53180ec8e4d5b96
- Fix folder rename/delete buttons do not appear on creation of first folder (#1486468)


2 files modified
11 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/js/app.js 10 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail
===========================
- Fix folder rename/delete buttons do not appear on creation of first folder (#1486468)
- Fix character set conversion fails on systems where iconv doesn't accept //IGNORE (#1486375)
- Login preformance: Create default folders on first login only
- Import contacts into the selected address book (by Phil Weir)
program/js/app.js
@@ -3369,9 +3369,12 @@
      return false;
    // find not protected folder    
    for (var refid in this.env.subscriptionrows)
      if (this.env.subscriptionrows[refid]!=null && !this.env.subscriptionrows[refid][2])
    var refid;
    for (var rid in this.env.subscriptionrows)
      if (this.env.subscriptionrows[rid]!=null && !this.env.subscriptionrows[rid][2]) {
        refid = rid;
        break;
      }
    var refrow, form;
    var tbody = this.gui_objects.subscriptionlist.tBodies[0];
@@ -3384,10 +3387,11 @@
      refid = replace.id;
    }
    if (!id || !(refrow = document.getElementById(refid)))
    if (!id || !refid || !(refrow = document.getElementById(refid)))
      {
      // Refresh page if we don't have a table row to clone
      this.goto_url('folders');
      return false;
      }
    else
      {