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.
// New Folder button: user needs "create" access this.widgets.newFolder = Alfresco.util.createYUIButton(this, "newFolder-button", this.onNewFolder, { disabled: true, value: "CreateChildren" });
this.id + "-" + "newFolder-button"
${el}-newFolder-button
<div class="separator hideable DocListTree"> </div> <div class="file-create hideable DocListTree"><button id="${args.htmlid}-fileCreate-button" name="fileCreate">${msg("button.create")}</button></div>
.toolbar .file-create button { background: transparent url(images/create-16.png) no-repeat 12px 4px; padding-left: 32px; } .toolbar .file-create .yui-button-disabled button { background-image: url(images/create-disabled-16.png); }
// File Create button: user needs "create" access this.widgets.fileCreate = Alfresco.util.createYUIButton(this, "fileCreate-button", this.onFileCreate, { disabled: true, value: "create" }); // done added
/** * File Create click handler * * @method onFileCreate * @param e {object} DomEvent * @param p_obj {object} Object passed back from addListener method */ onFileCreate: function DLTB_onFileCreate(e, p_obj) { /* var url = YAHOO.lang.substitute(Alfresco.constants.URL_CONTEXT + "page/site/{site}/blog-postedit?container={container}", { site: this.options.siteId, container: this.options.containerId }); window.location = url; Event.preventDefault(e); */ var notimpTitle = this._msg("title.notimp"); var notimpMsg = this._msg("message.notimp", "Create Content"); Alfresco.util.PopupManager.displayPrompt( { title: notimpTitle, text: Alfresco.util.decodeHTML(notimpMsg), noEscape: true, modal: true, buttons: [ { text: this._msg("button.cancel"), handler: function DLTB_onActionDelete_cancel() { this.destroy(); } }] }); },
button.create=Create title.notimp=Not Implemented message.notimp = Feature {0} is not implemented yet.
this.currentFilter.filterId == "path"
this.currentFilter.filterData