diff --git a/ncp-web/css/ncp.css b/ncp-web/css/ncp.css
index c5ae5727..3c0a075a 100644
--- a/ncp-web/css/ncp.css
+++ b/ncp-web/css/ncp.css
@@ -1339,4 +1339,10 @@ a#versionlink:hover {
.pwd-btn, .default-btn {
cursor: pointer;
+ -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
+ opacity: 0.5;
+}
+.pwd-btn:hover, .default-btn:hover {
+ -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
+ opacity: 1;
}
diff --git a/ncp-web/elements.php b/ncp-web/elements.php
index 52c50844..56446306 100644
--- a/ncp-web/elements.php
+++ b/ncp-web/elements.php
@@ -48,7 +48,7 @@ HTML;
size=\"40\">";
if (array_key_exists('default', $param))
- $ret .= "
";
+ $ret .= "
";
if ($param['type'] == 'directory')
{
@@ -84,7 +84,7 @@ HTML;
id=\"$ncp_app-$param[id]\"
value=\"$param[value]\"
size=\"40\">";
- $ret .= "
";
+ $ret .= "
";
$ret .= "";
}
diff --git a/ncp-web/img/defaults.svg b/ncp-web/img/defaults.svg
new file mode 100644
index 00000000..bb09c568
--- /dev/null
+++ b/ncp-web/img/defaults.svg
@@ -0,0 +1 @@
+
diff --git a/ncp-web/img/toggle.svg b/ncp-web/img/toggle.svg
new file mode 100644
index 00000000..1ae9d0c2
--- /dev/null
+++ b/ncp-web/img/toggle.svg
@@ -0,0 +1,55 @@
+
+
diff --git a/ncp-web/js/ncp.js b/ncp-web/js/ncp.js
index 5e85bad3..c6c043ef 100644
--- a/ncp-web/js/ncp.js
+++ b/ncp-web/js/ncp.js
@@ -266,6 +266,7 @@ $(function()
{
var input = this.trav('previousSibling', 1);
input.set('.value', input.get('@default'));
+ input.trigger('change');
});
// Path fields