LT-297: Fixing rendering position for rename and making rename real time on database
This commit is contained in:
1 parent
5c36074f8a
commit
998cdce9fb
2 files changed
+22
-16
No files matched your search
@@ -31,11 +31,8 @@ OHIF.measurements.toggleLabelButton = options => {
|
||||
threeColumns: true,
|
||||
hideCommon: true,
|
||||
autoClick: options.autoClick,
|
||||
doneCallback(location, description) {
|
||||
if (_.isFunction(options.callback)) {
|
||||
options.callback(options, location, description);
|
||||
}
|
||||
|
||||
doneCallback: removeButtonView,
|
||||
updateCallback(location, description) {
|
||||
toolCollection.update({
|
||||
measurementNumber: measurement.measurementNumber,
|
||||
toolType: measurement.toolType,
|
||||
@@ -48,8 +45,6 @@ OHIF.measurements.toggleLabelButton = options => {
|
||||
}, {
|
||||
multi: true
|
||||
});
|
||||
|
||||
removeButtonView();
|
||||
}
|
||||
};
|
||||
const view = Blaze.renderWithData(Template.measureFlow, data, options.element);
|
||||
|
||||
Reference in new issue
Block a user