                            (set! (-> progress-element .-style .-display) "none"))
 
                          (println "REQUEST COMPLETE")
-
-                         (let [])
-                         
                          (if complete-fn (complete-fn e)))))
 
 
-      (events/listen req goog.net.EventType.SUCCESS
-                     (fn [e]
-                       (println "REQUEST SUCCESS")
-                       (let [ee (.-target e)]
-                         ;;(redirect-to-root-when-not-transit ee)
-                         (try
-                           (let [r (t/read r (.getResponseText ee))]
-                             (make-reload-if-reload-client r)
-                             (success-fn r))                           
-                           (catch js/Error e
-                             (let [m (str "Ошибка сохранения: " e)]
-                               (println m)
-                               (print-error "ERRON IN REQUEST SUCCESS" ee false)))))))
+
+
       (.send req
              uri
              "POST"

          (make-reload-if-reload-client [r]
            (when (get r :reload-client)
              (do (js/alert "СЕРВЕР ПРИСЛАЛ СИГНАЛ НА ОБНОВЛЕНИЕ")
                (set! (.-location js/window) "/"))))]
    
    (let [req (goog.net.XhrIo.)
          progress-element (if disable-progress-element?
                             false

              (catch js/Error e
                (.getResponseText ee))))

          (print-error [s ee show-alert]
            (println "ERROR IN " s "\n"
                     "LastErrorCode: " (.getLastErrorCode ee) "\n"
                     "Status: " (.getStatus ee) " - " (.getStatusText ee) "\n"
