wangyum commented on a change in pull request #26222: [SPARK-29504][WebUI]show 
full decription when double click on ellipse
URL: https://github.com/apache/spark/pull/26222#discussion_r337942290
 
 

 ##########
 File path: core/src/main/resources/org/apache/spark/ui/static/webui.js
 ##########
 @@ -87,4 +87,11 @@ $(function() {
   
collapseTablePageLoad('collapse-aggregated-runningExecutions','aggregated-runningExecutions');
   
collapseTablePageLoad('collapse-aggregated-completedExecutions','aggregated-completedExecutions');
   
collapseTablePageLoad('collapse-aggregated-failedExecutions','aggregated-failedExecutions');
-});
\ No newline at end of file
+});
+
+$(function() {
+    // Trigger a double click on the span to show full job description.
+    $(".description-input").dblclick(function() {
+        
$(this).removeClass("description-input").addClass("description-input-full");
+    });
+});
 
 Review comment:
   Could you update your changes to
   ```javascript
   $(function() {
       // Show/hide full job description on click event.        
       $(".description-input").click(function() {       
           $(this).toggleClass("description-input-full");       
       });
   });
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to