This commit is contained in:
Baris Usakli
2013-08-30 12:36:06 -04:00
parent 2deb0e1708
commit ad5e3ebce3
2 changed files with 24 additions and 18 deletions

View File

@@ -67,7 +67,8 @@
return false; return false;
}); });
moveThreadModal.on('shown', function() { moveThreadModal.on('shown.bs.modal', function() {
var loadingEl = document.getElementById('categories-loading'); var loadingEl = document.getElementById('categories-loading');
if (loadingEl) { if (loadingEl) {
socket.once('api:categories.get', function(data) { socket.once('api:categories.get', function(data) {

View File

@@ -170,7 +170,10 @@
</div> </div>
</div> </div>
<div id="move_thread_modal" class="modal hide fade">
<div id="move_thread_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Chat" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Move Thread</h3> <h3>Move Thread</h3>
@@ -184,10 +187,12 @@
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn" data-dismiss="modal" id="move_thread_cancel">Close</a> <button type="button" class="btn btn-default" data-dismiss="modal" id="move_thread_cancel">Close</a>
<button type="button" class="btn btn-primary" id="move_thread_commit" disabled>Move</a> <button type="button" class="btn btn-primary" id="move_thread_commit" disabled>Move</a>
</div> </div>
</div> </div>
</div>
</div>
<input type="hidden" template-variable="expose_tools" value="{expose_tools}" /> <input type="hidden" template-variable="expose_tools" value="{expose_tools}" />
<input type="hidden" template-variable="topic_id" value="{topic_id}" /> <input type="hidden" template-variable="topic_id" value="{topic_id}" />