summaryrefslogtreecommitdiffstats
path: root/cobbler/webui
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-27 12:50:57 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-27 12:50:57 -0400
commit1c06bdb2a556b7b0c28d00517a52afb8af3b2cbe (patch)
treec9d058cf973fe5eff0b8b815b5c4bc03eafe2c8e /cobbler/webui
parent13012ff6cbbfa9e61911407210d33a32b4bed44d (diff)
downloadthird_party-cobbler-1c06bdb2a556b7b0c28d00517a52afb8af3b2cbe.tar.gz
third_party-cobbler-1c06bdb2a556b7b0c28d00517a52afb8af3b2cbe.tar.xz
third_party-cobbler-1c06bdb2a556b7b0c28d00517a52afb8af3b2cbe.zip
A small bit of javascript to ensure that the get_random_mac AJAX call, should it fail, will not
set the field to any value that is not a MAC address.
Diffstat (limited to 'cobbler/webui')
-rw-r--r--cobbler/webui/CobblerWeb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cobbler/webui/CobblerWeb.py b/cobbler/webui/CobblerWeb.py
index bfa257b..3b0c718 100644
--- a/cobbler/webui/CobblerWeb.py
+++ b/cobbler/webui/CobblerWeb.py
@@ -94,6 +94,7 @@ class CobblerWeb(object):
self.token = None
# this should put us back to the login screen
self.__cookie_logout()
+ return False
else:
raise e