use dijit form widget for attachments dropdown

This commit is contained in:
Andrew Dolgov
2015-08-11 14:53:07 +03:00
parent 176a489e54
commit 6810a1de42
4 changed files with 22 additions and 40 deletions
-14
View File
@@ -2347,20 +2347,6 @@ function displayArticleUrl(id) {
}
}
function openSelectedAttachment(elem) {
try {
var url = elem[elem.selectedIndex].value;
if (url) {
window.open(url);
elem.selectedIndex = 0;
}
} catch (e) {
exception_error("openSelectedAttachment", e);
}
}
function scrollToRowId(id) {
try {
var row = $(id);