* make close modal button work.
This commit is contained in:
@@ -235,4 +235,9 @@ $(function()
|
||||
activeCurrent(currentModule, currentMethod);
|
||||
}
|
||||
});
|
||||
|
||||
$('#closeModalBtn').click(function()
|
||||
{
|
||||
window.parent.$.closeModal();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
<div class='text-center'>
|
||||
<button id='saveMenuBtn' type='button' class='btn btn-primary'><?php echo $lang->save ?></button>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user