Browse Source

Merge pull request #522 from MohammadYounes/docs

Update docs
pull/532/head
Jack Lukic 10 years ago
parent
commit
61130d26dd
2 changed files with 4 additions and 3 deletions
  1. 6
      server/documents/modules/modal.html.eco
  2. 1
      server/layouts/default.html.eco

6
server/documents/modules/modal.html.eco

@ -168,7 +168,7 @@ type : 'UI Module'
<div class="no example">
<h4 class="ui header">Approve / Deny Callbacks</h4>
<p>Modals will automatically tie approve deny callbacks to any positive/approve or negative/deny or ok/cancel buttons. If a callback returns false it will prevent the modal from closing</p>
<p>Modals will automatically tie approve deny callbacks to any positive/approve, negative/deny or ok/cancel buttons. If a callback returns false it will prevent the modal from closing</p>
<div class="code" data-demo="true">
$('.basic.modal')
.modal('setting', {
@ -450,12 +450,12 @@ type : 'UI Module'
<tr>
<td>onApprove</td>
<td>Modal</td>
<td>Is called after a positive or approve button is pressed</td>
<td>Is called after a positive, approve or ok button is pressed</td>
</tr>
<tr>
<td>onDeny</td>
<td>Modal</td>
<td>Is called after a negative or deny or cancel button is pressed.</td>
<td>Is called after a negative, deny or cancel button is pressed.</td>
</tr>
</tbody>
</table>

1
server/layouts/default.html.eco

@ -1,4 +1,5 @@
<!DOCTYPE html>
<html>
<head>
<% uiIntroduction = @getCollection("documents").findAll({type: $in: ['UI Introduction']},[{title: 1}]).toJSON() %>
<% uiProject = @getCollection("documents").findAll({type: $in: ['Semantic Project']},[{title: 1}]).toJSON() %>

Loading…
Cancel
Save