fix bug "cannot revert preference to global"
This commit is contained in:
parent
9fd019554f
commit
e64dc97ecf
|
@ -2128,7 +2128,7 @@ class BasePreferences(object):
|
||||||
if formsemestre_id:
|
if formsemestre_id:
|
||||||
descr[
|
descr[
|
||||||
"explanation"
|
"explanation"
|
||||||
] = """ou <span class="spanlink"
|
] = f"""ou <span class="spanlink"
|
||||||
onclick="set_global_pref(this, '{pref_name}');"
|
onclick="set_global_pref(this, '{pref_name}');"
|
||||||
>utiliser paramètre global</span>"""
|
>utiliser paramètre global</span>"""
|
||||||
if formsemestre_id and self.is_global(formsemestre_id, pref_name):
|
if formsemestre_id and self.is_global(formsemestre_id, pref_name):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user