summary refs log tree commit diff
path: root/webclient/components
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 11:37:07 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 11:37:07 +0200
commit509ce6c137da80470c3967e411f896223d80e859 (patch)
tree21f492f614700624041769311379e1080b00a4e4 /webclient/components
parentMerge remote-tracking branch 'origin/master' into user_page (diff)
downloadsynapse-509ce6c137da80470c3967e411f896223d80e859.tar.xz
Change mouse cursor to pointer on elements user can click on
Diffstat (limited to 'webclient/components')
-rw-r--r--webclient/components/fileInput/file-input-directive.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/webclient/components/fileInput/file-input-directive.js b/webclient/components/fileInput/file-input-directive.js
index 9b73f877e9..c5e4ae07a8 100644
--- a/webclient/components/fileInput/file-input-directive.js
+++ b/webclient/components/fileInput/file-input-directive.js
@@ -29,7 +29,7 @@ angular.module('mFileInput', [])
         scope: {
             selectedFile: '=mFileInput'
         },
-        
+
         link: function(scope, element, attrs, ctrl) {
             element.bind("click", function() {
                 element.find("input")[0].click();
@@ -38,6 +38,9 @@ angular.module('mFileInput', [])
                     scope.$apply();
                 });
             });
+
+            // Change the mouse icon on mouseover on this element
+            element.css("cursor", "pointer");
       }
     };
 });
\ No newline at end of file