* make close modal button work.

This commit is contained in:
Catouse
2016-04-22 09:58:31 +08:00
parent ad91d7b16c
commit 063b1c97e2
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -235,4 +235,9 @@ $(function()
activeCurrent(currentModule, currentMethod);
}
});
$('#closeModalBtn').click(function()
{
window.parent.$.closeModal();
});
});
+1 -1
View File
@@ -32,7 +32,7 @@
</div>
<div class='text-center'>
<button id='saveMenuBtn' type='button' class='btn btn-primary'><?php echo $lang->save ?></button> &nbsp;
<button type='button' class='btn' data-dismiss="modal"><?php echo $lang->close ?></button>
<button id='closeModalBtn' type='button' class='btn'><?php echo $lang->close ?></button>
</div>
</div>
</div>