Commit bdb49d44 by Karsa Zoltán István

bugfix

parent 8a65e8d0
var Websock_native; // not sure
$(function() {
if ($("#ace-meta-data").length && $("#ace-user-data").length) {
var meta_data = ace.edit('ace-meta-data', {
mode: "ace/mode/yaml", useWorker: false,
selectionStyle: "text" });
......@@ -26,7 +26,6 @@ $(function() {
document.getElementById('ace-user-data').style.fontSize='14px';
/* */
$('#vm-details-cidata-save').click(function(e) {
$.ajax({
type: 'POST',
url: $(this).parents("form").prop('action'),
......@@ -48,9 +47,9 @@ $(function() {
}
}
});
e.preventDefault()
})
}
/* save resources */
$('#vm-details-resources-save').click(function(e) {
var error = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment