Fixed an issue with ajax forms

pull/762/head
Iglocska 2015-10-17 01:06:58 +02:00
parent 044996bdb5
commit 94963852e2
3 changed files with 2 additions and 9 deletions

View File

@ -330,11 +330,6 @@
</li>
</ul>
</div>
<div id="attribute_creation_div" style="display:none;">
<?php
//echo $this->element('eventattributecreation');
?>
</div>
<script type="text/javascript">
$(document).ready(function(){
$('input:checkbox').removeAttr('checked');

View File

@ -197,12 +197,11 @@ $mayPublish = ($isAclPublish && $event['Orgc']['id'] == $me['org_id']);
<?php if (sizeOf($allPivots) > 1) echo $this->element('pivot'); ?>
</div>
<div id="attributes_div">
<?php
//echo $this->element('eventattribute');
?>
</div>
<div id="discussions_div">
</div>
<div id="attribute_creation_div" style="display:none;">
</div>
</div>
<script type="text/javascript">
// tooltips

View File

@ -537,7 +537,6 @@ function submitPopoverForm(context_id, referer, update_context_id) {
type:"post",
url:url
});
$("#popover_form").empty();
}
};