You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
688 B
JavaScript
18 lines
688 B
JavaScript
/*global define,require */
|
|
define("owncloud/widgets/ocLogo",
|
|
["dojo/_base/declare", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "webodf/editor/EditorSession"],
|
|
function (declare, _WidgetBase, _TemplatedMixin, EditorSession) {
|
|
return declare("OcLogo", [_WidgetBase, _TemplatedMixin], {
|
|
templateString: '<div style="float:left" class="padded"><a href="' + (OC.webroot || '/') +'"><div class="logo-icon"></div></a></div>',
|
|
startup: function () {
|
|
$('#header').children(':not(#ocToolbar)').hide();
|
|
this.inherited(arguments);
|
|
},
|
|
destroy: function () {
|
|
this.inherited(arguments);
|
|
$('#header').children(':not(#ocToolbar)').show();
|
|
}
|
|
});
|
|
}
|
|
);
|