         model_id = req.params.openxpki.model_id
 
         if not source.get("navEntries.length") or model_id in @needReboot
-            @sendAjax data: 
+            @sendAjax data:
                 page: "bootstrap!structure"
                 baseurl: window.location.pathname
 


                source.set "status", doc.status
                source.set "modal", null

                if doc.refresh
                    source.set "refresh", Em.run.later(@, ->

            data: data
        .then (doc) ->
            source

    doPing: (cfg) ->
        @set "source.ping", Em.run.later(@, ->
            Em.$.ajax
                url: cfg.href
            doPing cfg
        , cfg.timeout)


    sendAjax: (req) ->
        req.dataType = "json"
