This commit is contained in:
@@ -8,25 +8,6 @@ export default {
|
||||
// called from App.vue
|
||||
handleOpenObjectClick(vm, tid) {
|
||||
//expects extra data (tid) to be one of { type: [AYATYPE], id: [RECORDID] }
|
||||
//or null which is what is called when asking to check if there is a direct openObject in store and open it
|
||||
|
||||
// if (tid == null) {
|
||||
// let op = vm.$store.state.openObject;
|
||||
// //clear it out so it doesn't recur
|
||||
// window.$gz.store.commit("clearOpenObject");
|
||||
// if (op && op.type) {
|
||||
// tid = op;
|
||||
// } else {
|
||||
// //log it in case we need to see it in tech support
|
||||
// window.$gz.store.commit(
|
||||
// "logItem",
|
||||
// `Error: open object url was not valid, missing type or invalid type ${JSON.stringify(
|
||||
// op
|
||||
// )}`
|
||||
// );
|
||||
// return; //bail out, nothing to open here
|
||||
// }
|
||||
// }
|
||||
|
||||
//NOTE: for new objects all edit pages assume record ID 0 means create rather than open
|
||||
|
||||
|
||||
Reference in New Issue
Block a user