summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-09-29 12:07:35 (GMT)
committerSwift Review <review@swift.im>2014-10-01 14:28:20 (GMT)
commit4a4e72be24c9b7789426adf5cae078bfc4ca424e (patch)
tree580bc625026c8bc83d7f0dcbf3f04707701db95c
parenta2296b00c88df201b0eb58e867aeb17a87e6332c (diff)
downloadswift-4a4e72be24c9b7789426adf5cae078bfc4ca424e.zip
swift-4a4e72be24c9b7789426adf5cae078bfc4ca424e.tar.bz2
Disable drag of text and images (like avatars) in chat views.
Change-Id: I74ba85f84c9e4775b472e7366f3f1b7572489512
-rwxr-xr-xSwift/resources/themes/Default/Incoming/Content.html2
-rwxr-xr-xSwift/resources/themes/Default/Incoming/Context.html2
-rwxr-xr-xSwift/resources/themes/Default/Outgoing/Content.html2
-rwxr-xr-xSwift/resources/themes/Default/Outgoing/Context.html2
4 files changed, 4 insertions, 4 deletions
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">