You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/07/01 23:57:25 UTC
allura git commit: [#4020] set compress=False on jquery ui css files
that have relative image references in them
Repository: allura
Updated Branches:
refs/heads/db/4020 [created] 47e3e3d13
[#4020] set compress=False on jquery ui css files that have relative image references in them
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/47e3e3d1
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/47e3e3d1
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/47e3e3d1
Branch: refs/heads/db/4020
Commit: 47e3e3d13dc9b22795b43ea846cb30f7ff47dd37
Parents: 14edf90
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Jul 1 21:57:17 2015 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Jul 1 21:57:17 2015 +0000
----------------------------------------------------------------------
Allura/allura/ext/admin/widgets.py | 2 +-
Allura/allura/lib/widgets/form_fields.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/47e3e3d1/Allura/allura/ext/admin/widgets.py
----------------------------------------------------------------------
diff --git a/Allura/allura/ext/admin/widgets.py b/Allura/allura/ext/admin/widgets.py
index 0f7d33d..de8046f 100644
--- a/Allura/allura/ext/admin/widgets.py
+++ b/Allura/allura/ext/admin/widgets.py
@@ -167,7 +167,7 @@ class FeaturesField(ew.CompoundField):
fields = [ew.TextField(name='feature', attrs={'style': 'width:89%'})]
def resources(self):
- yield ew.CSSLink('allura/css/smoothness/jquery-ui-1.8.4.custom.css')
+ yield ew.CSSLink('allura/css/smoothness/jquery-ui-1.8.4.custom.css', compress=False) # compress will also serve from a different location, breaking image refs
class MetadataAdmin(ff.AdminForm):
http://git-wip-us.apache.org/repos/asf/allura/blob/47e3e3d1/Allura/allura/lib/widgets/form_fields.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/form_fields.py b/Allura/allura/lib/widgets/form_fields.py
index 77665f9..da4d98a 100644
--- a/Allura/allura/lib/widgets/form_fields.py
+++ b/Allura/allura/lib/widgets/form_fields.py
@@ -483,7 +483,7 @@ class DateField(JQueryMixin, ew.TextField):
def resources(self):
for r in super(DateField, self).resources():
yield r
- yield ew.CSSLink('css/jquery.ui.datepicker.css')
+ yield ew.CSSLink('css/jquery.ui.datepicker.css', compress=False) # compress will also serve from a different location, breaking image refs
class FieldCluster(ew.CompoundField):