зеркало из https://github.com/mozilla/gecko-dev.git
adding files for customize dialog
This commit is contained in:
Родитель
71f3ec8513
Коммит
a3ad4146c7
|
@ -27,6 +27,13 @@ include $(topsrcdir)/config/config.mk
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
FILES = \
|
||||
dialog.js \
|
||||
dialog.xul \
|
||||
dialogFrame.html \
|
||||
dialogSidebar.js \
|
||||
dialogSidebar.xul \
|
||||
dialogWindow.xul \
|
||||
sidebar-registry.rdf \
|
||||
document.gif \
|
||||
dom-test-1.css \
|
||||
dom-test-1.xul \
|
||||
|
|
|
@ -21,7 +21,14 @@ MODULE=rdf
|
|||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
FILES=\
|
||||
document.gif \
|
||||
dialog.js \
|
||||
dialog.xul \
|
||||
dialogFrame.html \
|
||||
dialogSidebar.js \
|
||||
dialogSidebar.xul \
|
||||
dialogWindow.xul \
|
||||
sidebar-registry.rdf \
|
||||
document.gif \
|
||||
dom-test-1.css \
|
||||
dom-test-1.xul \
|
||||
dom-test-2.xul \
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
value="&sidebar.reload.label;"
|
||||
onclick="window.location.reload()" />
|
||||
<titledbutton class="borderless paneltitle"
|
||||
value="&sidebar.customize.label;" />
|
||||
value="&sidebar.customize.label;"
|
||||
onclick="dialogWindow=makeDialog()" />
|
||||
</box>
|
||||
</box>
|
||||
</window>
|
||||
|
|
|
@ -200,6 +200,10 @@ function OpenURL(url)
|
|||
dump("OpenURL("+url+")\n");
|
||||
}
|
||||
|
||||
function makeDialog() {
|
||||
var newWin = window.openDialog('resource://res/rdf/dialogFrame.html','New','chrome');
|
||||
return newWin;
|
||||
}
|
||||
|
||||
// To get around "window.onload" not working in viewer.
|
||||
function Boot()
|
||||
|
|
Загрузка…
Ссылка в новой задаче