X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=portal%2Fslicerequestview.py;h=a880d3914a9dc5d5e0089a546661bd294efaed31;hb=43916b8eec4f30efe0db3c468a21ad136088a98c;hp=f9c4636dc1c6aca610b19518658b654d5791b833;hpb=5c6d3dfae3a4aed1a18a9f1a946655631328351d;p=unfold.git diff --git a/portal/slicerequestview.py b/portal/slicerequestview.py index f9c4636d..a880d391 100644 --- a/portal/slicerequestview.py +++ b/portal/slicerequestview.py @@ -92,7 +92,7 @@ class SliceRequestView (LoginRequiredAutoLogoutView, ThemeView): # Page rendering page = Page(wsgi_request) page.add_js_files ( [ "js/jquery.validate.js", "js/jquery-ui.js" ] ) - page.add_css_files ( [ "https://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" ] ) + page.add_css_files ( [ "css/jquery-ui.css" ] ) page.expose_js_metadata() if method == 'POST': @@ -113,7 +113,7 @@ class SliceRequestView (LoginRequiredAutoLogoutView, ThemeView): # Handle project if used project = wsgi_request.POST.get('project', None) - if project is not None: + if project is not None and project != '': authority_hrn = project slice_request = {