#966 Fix for a bug caused by Google Chrome version 36: the selected attachment was added several times (up to 10 or more!).

git-svn-id: http://svn.code.sf.net/p/itop/code/branches/2.0@3284 a333f486-631f-4898-b8df-5754b55c2be0