mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-29 11:22:15 +00:00
@@ -426,7 +426,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-12 text-right form-hws form-is_rig">
|
<div class="col-sm-12 text-right form-hws form-is_rig {% if object.pk and not object.is_rig %}hidden{% endif %}">
|
||||||
<div class="btn-group btn-page">
|
<div class="btn-group btn-page">
|
||||||
<button type="submit" class="btn btn-default" title="Save"><span
|
<button type="submit" class="btn btn-default" title="Save"><span
|
||||||
class="glyphicon glyphicon-floppy-disk"></span>
|
class="glyphicon glyphicon-floppy-disk"></span>
|
||||||
|
|||||||
@@ -176,6 +176,8 @@
|
|||||||
// Anti modal inception
|
// Anti modal inception
|
||||||
if($link.parents('#modal').length == 0) {
|
if($link.parents('#modal').length == 0) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
modaltarget = $link.data('target');
|
||||||
|
modalobject = "";
|
||||||
jQuery('#modal').load($link.attr('href'), function (e) {
|
jQuery('#modal').load($link.attr('href'), function (e) {
|
||||||
jQuery('#modal').modal();
|
jQuery('#modal').modal();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user