You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/09/21 16:13:33 UTC

[whimsy] branch master updated: use relative path

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  3e3d7d3   use relative path
3e3d7d3 is described below

commit 3e3d7d3b374c7594118273e8b15798757de8ee44
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Sep 21 12:13:15 2016 -0400

    use relative path
---
 www/secmail/views/status.js.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/secmail/views/status.js.rb b/www/secmail/views/status.js.rb
index aacacbd..1d77fa2 100644
--- a/www/secmail/views/status.js.rb
+++ b/www/secmail/views/status.js.rb
@@ -24,6 +24,7 @@ class Status
   end
 
   def self.pushDeleted(value)
+    value = value[/\w+\/\w+\/?$/].sub(/\/?$/, '/')
     secmail = Status.secmail
     secmail.undoStack ||= []
     secmail.undoStack << value

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].