allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [10/16] allura git commit: [#4020] set compress=False on jquery ui css files that have relative image references in them
Date Tue, 07 Jul 2015 22:11:27 GMT
[#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/6991e510
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/6991e510
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/6991e510

Branch: refs/heads/db/6373
Commit: 6991e5103b56a443c2bc7abf9a8205323e607aac
Parents: 664bd19
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Jul 1 21:57:17 2015 +0000
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Fri Jul 3 14:10:19 2015 +0300

----------------------------------------------------------------------
 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/6991e510/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/6991e510/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):


Mime
View raw message