Aleksander Machniak
2014-07-30 31b02362653e6399ef63a2342dc0e777c173c33b
program/js/app.js
@@ -1052,7 +1052,7 @@
        if (this.task == 'mail') {
          url._mbox = this.env.mailbox;
          if (props)
             url._to = props;
            url._to = props;
          // also send search request so we can go back to search result after message is sent
          if (this.env.search_request)
            url._search = this.env.search_request;
@@ -1080,8 +1080,12 @@
            break;
          }
        }
        else if (props)
        else if (props && typeof props == 'string') {
          url._to = props;
        }
        else if (props && typeof props == 'object') {
          $.extend(url, props);
        }
        this.open_compose_step(url);
        break;
@@ -6419,7 +6423,7 @@
    if (typeof content == 'object')
      popup.append(content);
    else
      popup.html(html);
      popup.html(content);
    popup.dialog($.extend({
        title: title,