 
             @parameterPopUp.show()
             setTimeout (-> jQuery("##{command}-parameter-#{1}").focus(); return), 0
-            # jQuery('#1').submit((submitEvent) -> alert "WHAT")
             return false
         else
             @parameterPopUp.hide()


        line = "#{command}("
        for i in [1..@commands[command]['inputs']] by 1
            line += jQuery("#parameter-pop-up ##{i}").val()
            if i != @commands[command]['inputs']
                line += ', '
        line += ');'

                @parameterPopUp.append "<input id='#{id}' type='text' size='5' class='pop-up-inside'>"
                if i != numberOfInputs
                    @parameterPopUp.append ','
                    jQuery("##{id}").keypress(
                        (e) ->
                            if e.which == 13
                                setTimeout (->
                                    jQuery("##{command}-parameter-#{i + 1}").focus()
                                    return), 0
                                return false
                            return true
                        )
                else
                    manager = @
                    jQuery("##{id}").keypress(
                        (e) ->
                            if e.which == 13
                                setTimeout (->
                                    manager.popUpEditLine row, command
                                    return), 0
                                return false
                            return true
                        )

            @parameterPopUp.append ')'
            button = jQuery '<button>', {
                id: 'editLine',
