{I" class:ETI"ProcessedAsset;FI"logical_path;TI"cms/new_content_button.js;FI" pathname;TI"~/usr/local/rvm/gems/ruby-2.0.0-p481/bundler/gems/browsercms-a0b88590276e/app/assets/javascripts/cms/new_content_button.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+”%TI" length;TiI" digest;TI"%c063dfd8e35c7b07f29922e2c9881193;FI" source;TI" Cms.NewContentButton = function() { }; // Setting the 'New Page' path should update the global menu Cms.NewContentButton.prototype.addPagePath = function(path) { $('#new-content-button').attr('href', path); $('.add-page-button').attr('href', path); }; Cms.NewContentButton.prototype.addSectionPath = function(path) { $('.add-link-button').attr('href', path); }; Cms.NewContentButton.prototype.addLinkPath = function(path) { $('.add-section-button').attr('href', path); }; Cms.NewContentButton.prototype.updateButtons = function(selectedElement) { this.addPagePath(selectedElement.data('add-page-path')); this.addLinkPath(selectedElement.data('add-link-path')); this.addSectionPath(selectedElement.data('add-section-path')); }; var newContentButton = new Cms.NewContentButton(); ;TI"dependency_digest;TI"%0f6e3aee333ad334219f5c6aaf2dbac8;FI"required_paths;T[I"u/usr/local/rvm/gems/ruby-2.0.0-p481/bundler/gems/browsercms-a0b88590276e/app/assets/javascripts/cms/namespace.js;FI"~/usr/local/rvm/gems/ruby-2.0.0-p481/bundler/gems/browsercms-a0b88590276e/app/assets/javascripts/cms/new_content_button.js;FI"dependency_paths;T[{I" path;TI"~/usr/local/rvm/gems/ruby-2.0.0-p481/bundler/gems/browsercms-a0b88590276e/app/assets/javascripts/cms/new_content_button.js;FI" mtime;TI"2014-09-11T18:43:32-04:00;TI" digest;TI"%e82da31f57325d8b1ef963828799da26;F{I" path;TI"u/usr/local/rvm/gems/ruby-2.0.0-p481/bundler/gems/browsercms-a0b88590276e/app/assets/javascripts/cms/namespace.js;FI" mtime;TI"2014-09-11T18:43:32-04:00;TI" digest;TI"%add9641ae92cf09cdacde8b5a4ca7e15;FI" _version;TI"%5ef14a844324cba3e114bd0123f88a5e;F