From 4a4e72be24c9b7789426adf5cae078bfc4ca424e Mon Sep 17 00:00:00 2001 From: Tobias Markmann <tm@ayena.de> Date: Mon, 29 Sep 2014 14:07:35 +0200 Subject: Disable drag of text and images (like avatars) in chat views. Change-Id: I74ba85f84c9e4775b472e7366f3f1b7572489512 diff --git a/Swift/resources/themes/Default/Incoming/Content.html b/Swift/resources/themes/Default/Incoming/Content.html index fb4795f..dc5f8b2 100755 --- a/Swift/resources/themes/Default/Incoming/Content.html +++ b/Swift/resources/themes/Default/Incoming/Content.html @@ -2,7 +2,7 @@ <table width="100%"> <tr> <td valign="top"> - <img src="%userIconPath%" class="avatar" title="%sender%" /> + <img src="%userIconPath%" class="avatar" title="%sender%" ondragstart="return false" /> <div class="myBubble"> <div class="indicator"></div> <table class="tableBubble" cellspacing="0" cellpadding="0"> diff --git a/Swift/resources/themes/Default/Incoming/Context.html b/Swift/resources/themes/Default/Incoming/Context.html index c6fa61c..1f0c528 100755 --- a/Swift/resources/themes/Default/Incoming/Context.html +++ b/Swift/resources/themes/Default/Incoming/Context.html @@ -2,7 +2,7 @@ <table width="100%"> <tr> <td valign="top"> - <img src="%userIconPath%" class="avatar"/> + <img src="%userIconPath%" class="avatar" ondragstart="return false" /> <div class="myBubble"> <div class="indicator"></div> <table class="tableBubble" cellspacing="0" cellpadding="0"> diff --git a/Swift/resources/themes/Default/Outgoing/Content.html b/Swift/resources/themes/Default/Outgoing/Content.html index 87ca272..b0475d2 100755 --- a/Swift/resources/themes/Default/Outgoing/Content.html +++ b/Swift/resources/themes/Default/Outgoing/Content.html @@ -2,7 +2,7 @@ <table width="100%"> <tr> <td valign="top"> - <img src="%userIconPath%" class="avatar" title="%sender%" /> + <img src="%userIconPath%" class="avatar" title="%sender%" ondragstart="return false" /> <div class="myBubble"> <div class="indicator"></div> <table class="tableBubble" cellspacing="0" cellpadding="0"> diff --git a/Swift/resources/themes/Default/Outgoing/Context.html b/Swift/resources/themes/Default/Outgoing/Context.html index 229c592..679d786 100755 --- a/Swift/resources/themes/Default/Outgoing/Context.html +++ b/Swift/resources/themes/Default/Outgoing/Context.html @@ -2,7 +2,7 @@ <table width="100%"> <tr> <td valign="top"> - <img src="%userIconPath%" class="avatar"/> + <img src="%userIconPath%" class="avatar" ondragstart="return false" /> <div class="myBubble"> <div class="indicator"></div> <table class="tableBubble" cellspacing="0" cellpadding="0"> -- cgit v0.10.2-6-g49f6