https://github.com/ging/horizon
Revision 753ebd673c164cc0469a3de1b9ce40fefe92e99b authored by Gabriel Hurley on 14 March 2012, 00:27:18 UTC, committed by Gabriel Hurley on 14 March 2012, 00:44:07 UTC
This fixes the problem of having to "hide" the update action
in the row's actions column. Fixes bug 948397.

Additionally, added some protection for spillover between
the attrs dictionary on action instances. Fixes bug 954592.

FWIW, the code involved in the AJAX updating is largely identical,
it's just been moved from Action to Row and had few data accessors
renamed to account for the differing relation to Table and Row.
This also allowed the javascript to be significantly cleaner.

Change-Id: Ic8932a33ca6956a56c8eee09bb0a4d1f59e0ab3a
1 parent f7c0dd2
Raw File
Tip revision: 753ebd673c164cc0469a3de1b9ce40fefe92e99b authored by Gabriel Hurley on 14 March 2012, 00:27:18 UTC
Moved ajax updating from Action to Row.
Tip revision: 753ebd6
manage.py
#!/usr/bin/env python

import os
import sys


if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "openstack_dashboard.settings")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)
back to top