[IMP] removed js file arguments in debug mode to ease debugging
bzr revid: nicolas.vanhoren@openerp.com-20120709134516-bd1yabogwoomipkd
This commit is contained in:
@@ -194,7 +194,9 @@ class WebClient(openerpweb.Controller):
|
||||
if mods is not None:
|
||||
path += '?mods=' + mods
|
||||
return [path]
|
||||
return ['%s?debug=%s' % (wp, os.path.getmtime(fp)) for fp, wp in self.manifest_glob(req, mods, extension)]
|
||||
# old code to force cache reloading
|
||||
#return ['%s?debug=%s' % (wp, os.path.getmtime(fp)) for fp, wp in self.manifest_glob(req, mods, extension)]
|
||||
return [el[1] for el in self.manifest_glob(req, mods, extension)]
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def csslist(self, req, mods=None):
|
||||
|
||||
Reference in New Issue
Block a user