|
|
|
|
@ -185,7 +185,8 @@ define(function(require) {
|
|
|
|
|
title: "Edit " + options.name + " Metadata",
|
|
|
|
|
body: dialogform,
|
|
|
|
|
buttons: {
|
|
|
|
|
OK: { class : "btn-primary",
|
|
|
|
|
Cancel: {},
|
|
|
|
|
Edit: { class : "btn-primary",
|
|
|
|
|
click: function() {
|
|
|
|
|
/**
|
|
|
|
|
* validate json and set it
|
|
|
|
|
@ -200,8 +201,7 @@ define(function(require) {
|
|
|
|
|
}
|
|
|
|
|
options.callback(new_md);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
Cancel: {}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
notebook: options.notebook,
|
|
|
|
|
keyboard_manager: options.keyboard_manager,
|
|
|
|
|
|