+

Fix input focus on rename thing modal openning

Benjamin Renard [2016-09-07 23:24:01]
Fix input focus on rename thing modal openning
Filename
public_html/inc/main.js
diff --git a/public_html/inc/main.js b/public_html/inc/main.js
index aa59e88..b370de9 100644
--- a/public_html/inc/main.js
+++ b/public_html/inc/main.js
@@ -369,7 +369,7 @@ on_valid_rename_thing_modal=function (e) {
 }

 on_show_rename_thing_modal=function () {
-  $('#rename_thing_name').focus();
+  $('#rename_thing_label').focus();
 }

 on_close_rename_thing_modal=function () {
ViewGit