As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
if (jsNode.hasPermission("Write") && !jsNode.isLocked) { scope.insituEditors.push( { context: filenameId, params: { type: "textBox", nodeRef: jsNode.nodeRef.toString(), name: "prop_cm_name", value: record.fileName, fnSelect: function fnSelect(elInput, value) { // If the file has an extension, omit it from the edit selection var extnPos = value.lastIndexOf(Alfresco.util.getFileExtension(value)) - 1; if (extnPos > 0) { Alfresco.util.selectText(elInput, 0, extnPos); } else { elInput.select(); } }, validations: [ { type: Alfresco.forms.validation.nodeName, when: "keyup", message: scope.msg("validation-hint.nodeName") }, { type: Alfresco.forms.validation.length, args: { min: 1, max: 255, crop: true }, when: "keyup", message: scope.msg("validation-hint.length.min.max", 1, 255) }], title: scope.msg("tip.insitu-rename"), errorMessage: scope.msg("message.insitu-edit.name.failure") }, callback: { fn: scope._insituCallback, scope: scope, obj: record } }); }
I have the same issue, version 5. I have delete this code, but still can rename.
Thanks in advance.
Have you recreated the -min.js version of that file?
Sorry, I don´t understand.Can you explain it?
Thanks
I have use to do it firefox, + firebug, done.
thanks