mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 07:32:00 +01:00
Fixed missing stuff from no selected message warning
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
c8119d542b
commit
4a8baa3b2e
@ -364,7 +364,7 @@ var Piler =
|
|||||||
$('#deletebox-modal').modal('show');
|
$('#deletebox-modal').modal('show');
|
||||||
},
|
},
|
||||||
|
|
||||||
bulk_remove_messages:function(reason, text_successfully_removed)
|
bulk_remove_messages:function(reason, text_successfully_removed, text_no_selected_message)
|
||||||
{
|
{
|
||||||
Piler.log("[bulk_remove_messages]");
|
Piler.log("[bulk_remove_messages]");
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true"><?php print $text_close; ?></a>
|
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true"><?php print $text_close; ?></a>
|
||||||
<a href="#" onclick="var reason = $('#reason').val(); if(reason) { Piler.bulk_remove_messages(reason, '<?php if(NEED_TO_APPROVE_DELETE) { print $text_need_to_approve_removal; } else { print $text_successfully_removed; } ?>'); }" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">OK</a>
|
<a href="#" onclick="var reason = $('#reason').val(); if(reason) { Piler.bulk_remove_messages(reason, '<?php if(NEED_TO_APPROVE_DELETE) { print $text_need_to_approve_removal; } else { print $text_successfully_removed; } ?>', '<?php print $text_no_selected_message; ?>'); }" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">OK</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user