Permalink
Browse files

Implement button loader on demo pages

  • Loading branch information...
1 parent 0a8f169 commit dba4f379e031665c14d25f5980138ba1455a7047 @daftspunk daftspunk committed Nov 17, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 plugins/october/demo/components/todo/default.htm
  2. +1 −1 themes/demo/pages/ajax.htm
@@ -10,7 +10,7 @@ <h3 class="panel-title">To Do List</h3>
<div class="input-group">
<input type="text" id="input-item" class="form-control" value="" name="newItem" placeholder="What needs to be done?">
<span class="input-group-btn">
- <button type="submit" class="btn btn btn-primary">Add</button>
+ <button type="submit" class="btn btn btn-primary" data-attach-loading>Add</button>
</span>
</div>
</div>
@@ -53,7 +53,7 @@ <h3 class="panel-title">Calculator</h3>
<option>/</option>
</select>
<input type="text" class="form-control" value="5" name="value2" style="width:100px">
- <button type="submit" class="btn btn btn-primary">Calculate</button>
+ <button type="submit" class="btn btn btn-primary" data-attach-loading>Calculate</button>
</form>
</div>
<div class="panel-footer" id="result">

0 comments on commit dba4f37

Please sign in to comment.