Browse Source

A more consistent selector.

pull/511/head
Mohammad Younes 11 years ago
parent
commit
2a1dc06811
2 changed files with 3 additions and 3 deletions
  1. 4
      server/documents/modules/modal.html.eco
  2. 2
      src/modules/modal.js

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

@ -444,7 +444,7 @@ type : 'UI Module'
<tr>
<td>onDeny</td>
<td>Modal</td>
<td>Is called after a negative or cancel button is pressed.</td>
<td>Is called after a negative or deny button is pressed.</td>
</tr>
</tbody>
</table>
@ -473,7 +473,7 @@ type : 'UI Module'
selector : {
close : '.close, .actions .button',
approve : '.actions .positive, .actions .approve',
deny : '.actions .negative, .actions .cancel'
deny : '.actions .negative, .actions .deny'
},
</div>
</td>

2
src/modules/modal.js

@ -675,7 +675,7 @@ $.fn.modal.settings = {
selector : {
close : '.close, .actions .button',
approve : '.actions .positive, .actions .approve',
deny : '.actions .negative, .actions .cancel',
deny : '.actions .negative, .actions .deny',
modal : '.ui.modal'
},
error : {

Loading…
Cancel
Save