Added formatAjaxError documentation
Added formatAjaxError documentation
This commit is contained in:
parent
e66f51d55b
commit
8454f34cb6
@ -1331,6 +1331,21 @@ format(item) {
|
|||||||
<tr><td><returns></td><td>string</td><td>Message html or <code>null</code>/<code>undefined</code> to disable the message.</td></tr>
|
<tr><td><returns></td><td>string</td><td>Message html or <code>null</code>/<code>undefined</code> to disable the message.</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td>formatAjaxError</td><td>string/function</td><td>
|
||||||
|
String containing "Loading Failed" message, or<br />
|
||||||
|
Function used to render the message
|
||||||
|
<pre>formatAjaxError(jqXHR, textStatus, errorThrown)</pre>
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||||
|
<tr><td>jqXHR</td><td>object</td><td>The XMLHttpRequest object.</td></tr>
|
||||||
|
<tr><td>textStatus</td><td>string</td><td>Ajax request status text.</td></tr>
|
||||||
|
<tr><td>errorThrown</td><td>string</td><td>Server response status text.</td></tr>
|
||||||
|
<tr><td><returns></td><td>string</td><td>Message html.</td></tr>
|
||||||
|
</table>
|
||||||
|
<p class="alert alert-info">For more info on the parameters, refer to the <a href="http://api.jquery.com/jquery.ajax/">JQuery API Documentation</a>.
|
||||||
|
</p>
|
||||||
|
</td></tr>
|
||||||
<tr><td>formatInputTooShort</td><td>string/function</td><td>
|
<tr><td>formatInputTooShort</td><td>string/function</td><td>
|
||||||
String containing "Search input too short" message, or<br />
|
String containing "Search input too short" message, or<br />
|
||||||
Function used to render the message.
|
Function used to render the message.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user