You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by he...@apache.org on 2015/07/02 17:09:21 UTC

[06/23] allura git commit: [#7884] ticket:805 Fix sortable fields in Firefox

[#7884] ticket:805 Fix sortable fields in Firefox


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/cbd25fb1
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/cbd25fb1
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/cbd25fb1

Branch: refs/heads/hs/7894
Commit: cbd25fb150ddb2f3d70b9d75edc15a9133d525a4
Parents: 651047d
Author: Igor Bondarenko <je...@gmail.com>
Authored: Wed Jun 17 16:37:13 2015 +0300
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Mon Jun 29 18:04:52 2015 +0000

----------------------------------------------------------------------
 Allura/allura/templates/widgets/sortable_repeated_field.html | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/cbd25fb1/Allura/allura/templates/widgets/sortable_repeated_field.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/sortable_repeated_field.html b/Allura/allura/templates/widgets/sortable_repeated_field.html
index 538d14f..7f28091 100644
--- a/Allura/allura/templates/widgets/sortable_repeated_field.html
+++ b/Allura/allura/templates/widgets/sortable_repeated_field.html
@@ -19,7 +19,9 @@
 <div xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      class="$container_cls"
+     style="overflow:auto;"
      py:attrs="{'data-name':name}">
+   <!-- We need "overflow:auto" for sortable.js to properly work in Firefox http://stackoverflow.com/a/3393282/4640690 -->
    <div><py:if test="show_msg"><p
           class="$msg_cls"
           data-empty-message="$empty_msg"