[Pkg-owncloud-commits] [owncloud] 01/215: Reset sharedialog values

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit c456f5dee15a94450c20e27f9c22f86c1c7e554d
Author: Roeland Jago Douma <roeland at famdouma.nl>
Date:   Tue Apr 14 15:13:46 2015 +0200

    Reset sharedialog values
---
 core/js/share.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/core/js/share.js b/core/js/share.js
index 2eae6fa..45c8889 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -982,6 +982,10 @@ $(document).ready(function() {
 		}
 
 		if (this.checked) {
+			// Reset password placeholder
+			$('#linkPassText').attr('placeholder', t('core', 'Choose a password for the public link'));
+			// Reset link
+			$('#linkText').val('');
 			var expireDateString = '';
 			if (oc_appconfig.core.defaultExpireDateEnabled) {
 				var date = new Date().getTime();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list