summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/package_ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/templates/default/package_ui.js')
-rw-r--r--module/web/templates/default/package_ui.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/module/web/templates/default/package_ui.js b/module/web/templates/default/package_ui.js
index 0b938910a..1d0e25dd6 100644
--- a/module/web/templates/default/package_ui.js
+++ b/module/web/templates/default/package_ui.js
@@ -176,7 +176,6 @@ var Package = new Class({
this.name = this.ele.getElements('.name')[0];
this.folder = this.ele.getElements('.folder')[0];
this.password = this.ele.getElements('.password')[0];
- this.prio = this.ele.getElements('.prio')[0];
imgs[1].addEvent('click', this.deletePackage.bind(this));
@@ -352,16 +351,6 @@ var Package = new Class({
$("pack_folder").set("value", this.folder.get("text"));
$("pack_pws").set("value", this.password.get("text"));
- var prio = 3;
- $("pack_prio").getChildren("option").each(function(item, index) {
- item.erase("selected");
- if (prio.toString() == this.prio.get("text")) {
- item.set("selected", "selected");
- }
- prio--;
- }.bind(this));
-
-
show_pack();
event.stop();
},
@@ -371,7 +360,6 @@ var Package = new Class({
this.name.set("text", $("pack_name").get("value"));
this.folder.set("text", $("pack_folder").get("value"));
this.password.set("text", $("pack_pws").get("value"));
- this.prio.set("text", $("pack_prio").get("value"));
hide_pack();
event.stop();
},