зеркало из https://github.com/mozilla/gecko-dev.git
Bug 277490 (Retrieve site description from meta tag when adding bookmark) - missing nsSidebar.js part. p=gavin.sharp@gmail.com r=vald
This commit is contained in:
Родитель
7b77a70128
Коммит
26e1cfdf6b
|
@ -107,9 +107,13 @@ function (aTitle, aContentURL, aCustomizeURL, aPersist)
|
|||
var win = WINMEDSVC.getMostRecentWindow( "navigator:browser" );
|
||||
|
||||
sidebarURLSecurityCheck(aContentURL);
|
||||
var dialogArgs = {
|
||||
name: aTitle,
|
||||
url: aContentURL,
|
||||
bWebPanel: true
|
||||
}
|
||||
win.openDialog("chrome://browser/content/bookmarks/addBookmark2.xul", "",
|
||||
"centerscreen,chrome,dialog,resizable,dependent",
|
||||
aTitle, aContentURL, null, null, null, null, true);
|
||||
"centerscreen,chrome,dialog,resizable,dependent", dialogArgs);
|
||||
}
|
||||
|
||||
/* decorate prototype to provide ``class'' methods and property accessors */
|
||||
|
|
Загрузка…
Ссылка в новой задаче