Merge pull request #2494 from Ermish/gh-pages
Added formatAjaxError documentation
This commit is contained in:
commit
df448fbafd
@ -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>
|
||||
</table>
|
||||
</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>
|
||||
String containing "Search input too short" message, or<br />
|
||||
Function used to render the message.
|
||||
|
Loading…
Reference in New Issue
Block a user