mail plugin: use dijit.form.ComboBox to allow random email input instead of only predefined ones

This commit is contained in:
Andrew Dolgov 2014-08-26 18:11:32 +04:00
parent fc1f0a6847
commit 38bc9dad22
2 changed files with 2 additions and 1 deletions

View File

@ -231,6 +231,7 @@ function init() {
dojo.require("dijit.form.Select");
dojo.require("dijit.form.SimpleTextarea");
dojo.require("dijit.form.TextBox");
dojo.require("dijit.form.ComboBox");
dojo.require("dijit.form.ValidationTextBox");
dojo.require("dijit.InlineEditBox");
dojo.require("dijit.layout.AccordionContainer");

View File

@ -145,7 +145,7 @@ class Mail extends Plugin {
style=\"width : 30em;\"
name=\"destination\" id=\"emailArticleDlg_destination\">"; */
print_select("destination", "", $addresslist, 'style="width: 30em" dojoType="dijit.form.FilteringSelect"');
print_select("destination", "", $addresslist, 'style="width: 30em" dojoType="dijit.form.ComboBox"');
/* print "<div class=\"autocomplete\" id=\"emailArticleDlg_dst_choices\"
style=\"z-index: 30; display : none\"></div>"; */