GitHub user prabhjyotsingh opened a pull request:

    https://github.com/apache/zeppelin/pull/1111

    [ZEPPELIN-1094] Run all paragraphs keeps appending empty paragraphs

    ### What is this PR for?
    Every time user clicks on "Run all paragraphs" button system keeps 
appending an empty paragraph. Ideally content of paragraph should be checked 
before adding any empty paragraph.
    This started happening after 
[ZEPPELIN-707](https://issues.apache.org/jira/browse/ZEPPELIN-707) was merged.
    
    ### What type of PR is it?
    [Bug Fix | Improvement]
    
    ### Todos
    * [x] - add more condition before calling note.addParagraph()
    
    ### What is the Jira issue?
    * [ZEPPELIN-1094](https://issues.apache.org/jira/browse/ZEPPELIN-1094)
    
    
    
    ### Screenshots (if appropriate)
    
    Before
    
![before](https://cloud.githubusercontent.com/assets/674497/16512206/5d9b91b4-3f76-11e6-991f-560817efb331.gif)
    
    After
    
![after](https://cloud.githubusercontent.com/assets/674497/16512205/5d993bbc-3f76-11e6-916a-2924a17bd6a1.gif)
    
    
    ### Questions:
    * Does the licenses files need update? n/a
    * Is there breaking changes for older versions? n/a
    * Does this needs documentation? n/a
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-1094

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1111.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1111
    
----
commit 79196484039e9f4aae3c0b5c6ac9943d4efb9a00
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2016-07-01T04:55:01Z

    add more condition before calling note.addParagraph()

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to