Class py.dialog.AjaxMixin
Defined in: ajax.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Mixin for ajax dialog
|
| Field Attributes | Field Name and Description |
|---|---|
| <private> |
Current deferred
|
| <private> |
Error message
|
| <private> |
Loading message
|
| Method Attributes | Method Name and Description |
|---|---|
| <private> |
fetch data from given url
|
| <private> |
_onError()
error callback
|
| <private> |
_onLoad(res)
callback when data is available
|
Field Detail
<private>
_defer
Current deferred
<private>
_error_str
Error message
<private>
_loading_str
Loading message
Method Detail
<private>
_fetchData()
fetch data from given url
<private>
_onError()
error callback
<private>
_onLoad(res)
callback when data is available
- Parameters:
- res