![Gabriel Hurley](/assets/img/avatar_default.png)
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
22 lines
894 B
Python
22 lines
894 B
Python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
|
|
|
|
# Copyright 2012 Nebula, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
# Convenience imports for public API components.
|
|
from .actions import (Action, BatchAction, DeleteAction,
|
|
LinkAction, FilterAction)
|
|
from .base import DataTable, Column, Row
|
|
from .views import DataTableView, MultiTableView
|