added improved scripts/setup-web2py-nginx-uwsgi-ubuntu.sh, thanks Niphlod

This commit is contained in:
mdipierro
2012-12-20 09:22:24 -06:00
parent dcf0a7ccc9
commit 95b3ca839a
14 changed files with 60 additions and 53 deletions
+3 -3
View File
@@ -269,7 +269,7 @@ jQuery.fn.grow_input = function() {
function pe(ul, e) {
var new_line = ml(ul);
rel(ul);
new_line.appendTo(ul);
new_line.appendTo(ul);
new_line.find(":text").focus();
return false;
}
@@ -761,7 +761,7 @@ def formstyle_bootstrap(form, fields):
# For password fields, which are wrapped in a CAT object.
if isinstance(controls, CAT) and isinstance(controls[0], INPUT):
controls[0].add_class('input-xlarge')
if isinstance(controls, SELECT):
controls.add_class('input-xlarge')
@@ -1789,7 +1789,7 @@ class SQLFORM(FORM):
if not (
'/'.join(str(a) for a in args) == '/'.join(request.args) or
URL.verify(request,user_signature=user_signature,
hash_vars=False) or
hash_vars=False) or
(request.args(len(args))=='view' and not logged)):
session.flash = T('not authorized')
redirect(referrer)