Results 1 to 2 of 2

Thread: Undo Send zimlet Zimbra OS 8.0.1 - hitting Send button not responding

  1. #1
    marvin42 is offline New Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    3

    Default Undo Send zimlet Zimbra OS 8.0.1 - hitting Send button not responding

    Hi!

    I've just deployed Undo Send zimlet, and after activating, on the web client the hitting the Send button not responding.

    If I drop down the button and then hit Send, it sends immediately, so I guess Undo Send is not involved/triggered.
    Also, Send later works fine.

    I've loved and used this Zimlet with Zimbra OS 6.x and 7.x without any problem.

    Do anyone has this issue, or can anyone reproduce it?

    Marvin

    p.s.: if it matters, I've moved from 7.x to 8.0.1 by ZExtras Migration toolkit, to a different OS and domain.

  2. #2
    liudongmiao is offline Starter Member
    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    1

    Default

    i write a patch for it, now it works for me in "compose" tab or new "window".
    however, it doesnt works when reply in the "mail" tab.

    here is the package: https://piebridge.me/com_zimbra_undosend.zip

    Code:
    diff -urp old/undosend.js new/undosend.js
    --- old/undosend.js	2011-08-23 07:37:28.000000000 +0800
    +++ new/undosend.js	2013-01-13 03:40:49.000000000 +0800
    @@ -101,12 +101,18 @@ function(controller) {
     	if (!this.appViewMgr) {
     		this.appViewMgr = appCtxt.getAppViewMgr();
     	}	
    -	var viewId = this.appViewMgr._currentView;
    +	var viewId = this.appViewMgr._currentView || this.appViewMgr._currentViewId;
     
     	if(!appCtxt.isChildWindow) {
    -		if (this.appViewMgr._isTabView[viewId]) {
    +		if (this.appViewMgr._isTabView && this.appViewMgr._isTabView[viewId]) {
     			var tab = appCtxt.getAppChooser().getButton(this.appViewMgr._tabParams[viewId].id);
     			var title = this._getComposeTabTitle(viewId);//store the title as when we push the view back, it doesnt seem to work
    +		} else if (this.appViewMgr._view && this.appViewMgr._view[viewId].isTabView) {
    +			var tab = appCtxt.getAppChooser().getButton(this.appViewMgr._view[viewId].tabParams.id);
    +			var title = this._getComposeTabTitle(viewId);//store the title as when we push the view back, it doesnt seem to work
    +		} else {
    +			var tab = undefined;
    +			var title = this._getComposeTabTitle(viewId);//store the title as when we push the view back, it doesnt seem to work
     		}
     	}
     	var undoLinkId = "UndoSendHdlrZimlet_undoLink" + viewId;
    Quote Originally Posted by marvin42 View Post
    Hi!

    I've just deployed Undo Send zimlet, and after activating, on the web client the hitting the Send button not responding.

    If I drop down the button and then hit Send, it sends immediately, so I guess Undo Send is not involved/triggered.
    Also, Send later works fine.

    I've loved and used this Zimlet with Zimbra OS 6.x and 7.x without any problem.

    Do anyone has this issue, or can anyone reproduce it?

    Marvin

    p.s.: if it matters, I've moved from 7.x to 8.0.1 by ZExtras Migration toolkit, to a different OS and domain.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-17-2011, 09:33 AM
  2. Replies: 0
    Last Post: 06-04-2011, 12:38 PM
  3. Zimlets Bug - Undo Send and Attachment Alert Conflict
    By Danno321 in forum General Questions
    Replies: 1
    Last Post: 05-01-2011, 01:59 PM
  4. Undo Send zimlet errors
    By blazeking in forum Zimlets
    Replies: 5
    Last Post: 08-19-2010, 10:11 AM
  5. SalesForce Zimlet Send&Add button
    By wfweaver in forum Zimlets
    Replies: 4
    Last Post: 07-09-2007, 02:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •