Resolving Issue #1316

CDEF Item Value dialog doesn't update creating items
This commit is contained in:
cigamit committed 2018-02-08 18:51:57 -06:00
1 parent dcf2d312f8
commit d75bec53f2
2 files changed
+12 -10

No files matched your search

+11 -10
View File
@@ -455,16 +455,16 @@ function item_edit() {
?>
</select>
<script type='text/javascript'>
$(function() {
$('#type_select').unbind().change(function() {
$(function() {
$('#type_select').unbind().change(function() {
strURL = 'cdef.php?action=item_edit';
strURL += '&id='+<?php print get_request_var('id');?>;
strURL += '&cdef_id='+<?php print get_request_var('cdef_id');?>;
strURL += '&type_select='+$('#type_select').val();
strURL += '&id=' + $('#id').val();
strURL += '&cdef_id=' + $('#cdef_id').val();
strURL += '&type_select=' + $('#type_select').val();
strURL += '&header=false';
loadPageNoHeader(strURL);
});
});
loadPageNoHeader(strURL);
});
});
</script>
</td>
</tr>
@@ -644,7 +644,7 @@ function cdef_edit() {
});
<?php } ?>
$('.delete').click(function (event) {
$('.delete').click(function(event) {
event.preventDefault();
id = $(this).attr('id').split('_');
@@ -658,7 +658,8 @@ function cdef_edit() {
.fail(function(data) {
getPresentHTTPError(data);
});
}
});
});
</script>
<?php
}
+1
View File
@@ -20,6 +20,7 @@ Cacti CHANGELOG
-issue#1309: Provide meaningful authentication errors in graph_json.php and graph_image.php
-issue#1310: Unable to return to previous page from auth_changepassword.php
-issue#1315: Realtime not working on local data collector
-issue#1316: CDEF Item Value dialog doesn't update creating items
-issue: Validate regular expressions if specified in add_graphs.php
1.1.34