Index: branches/unlabeled/unlabeled-1.27.2/core/admin_templates/js/catalog.js =================================================================== diff -u -r5528 -r5602 --- branches/unlabeled/unlabeled-1.27.2/core/admin_templates/js/catalog.js (.../catalog.js) (revision 5528) +++ branches/unlabeled/unlabeled-1.27.2/core/admin_templates/js/catalog.js (.../catalog.js) (revision 5602) @@ -6,7 +6,8 @@ this.URLMask = $url_mask; this.Separator = '#separator#'; this.ParentCategoryID = 0; - + this.EnablePaste = false; + this.TabRegistry = new Array(); this.ActivePrefix = getCookie(this.CookiePrefix + 'active_prefix'); this.PreviousPrefix = this.ActivePrefix; @@ -261,4 +262,9 @@ Catalog.prototype.setViewMenu = function($item_prefix) { $ViewMenus = isset($item_prefix) ? new Array('c', $item_prefix) : new Array('c'); +} + +Catalog.prototype.reflectPasteButton = function($clipboard_status) { + this.PasteEnabled = this.PasteEnabled || $clipboard_status; + a_toolbar.SetEnabled('paste', this.PasteEnabled); } \ No newline at end of file