Lines Matching refs:dialog
14 this.dialog = document.createElement('div');
15 this.dialog.id = 'encrypt_dialog';
16 this.dialog.className = 'picker cryptodialog';
17 this.dialog.style.top = (findPosY(textArea)+20)+'px';
18 this.dialog.style.left = (findPosX(textArea)+80)+'px';
20 this.textArea.form.parentNode.appendChild(this.dialog);
22 this.dialog.innerHTML =
44 drag.attach(this.dialog, $('encrypt_dialog_header'));
45 var dialog = this;
85 dialog.textArea.focus();
86 dialog.textArea.form.parentNode.removeChild(dialog.dialog);
87 dialog.visible = false;
88 dialog.dialog = null;
89 dialog.textArea = null;
93 var selection = getSelection(dialog.textArea);
96 dialog.sack.setVar("call", "crypto_encrypt");
97 dialog.sack.setVar("secret", escape($('encrypt_dialog_password1').value));
98 dialog.sack.setVar("data", escape(selection.getText()));
99 dialog.sack.onCompletion = function() {
100 pasteText(selection, dialog.sack.response);
111 dialog.sack.runAJAX();