- onenote.git
- src
- electron
- window
- onenote
- angular
- prompt
- index.js
This file ( 748B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
global.p3x.onenote.ng.factory('p3xOnenotePrompt', ($mdDialog) => {
return new function() {
this.setProxy = () => {
const confirm = $mdDialog.prompt()
.title(p3x.onenote.lang.label.setProxy)
.textContent(p3x.onenote.lang.dialog.setProxy.info)
.placeholder(p3x.onenote.lang.dialog.setProxy.placeholder)
.ariaLabel(p3x.onenote.lang.dialog.setProxy.placeholder)
.initialValue(global.p3x.onenote.data.proxy)
//.targetEvent(ev)
//.required(true)
.ok(p3x.onenote.lang.button.save)
.cancel(p3x.onenote.lang.button.cancel);
return $mdDialog.show(confirm)
}
}
})