                                             :onMouseDown (fn [e] (.select (.-target e)))
                                             }))
                    )))))))
-
 
 (def thumbnails-edit-form-app-init
   (merge edit-form-for-id-app-init


               (dom/div
                #js {:className "well well-sm"
                     :style #js {:marginTop 4                                 
                                 :display "inline-block"}}
                (let [image (@app :image)]
                  (if (empty? image)

                                       (put! chan-modal-act
                                             {:label (str "Выбор действий над записью №" id)
                                              :acts
                                              [{:text "Просмотр" :btn-type :primary
                                                :act-fn
                                                (fn []
                                                  (put! chan-thumb-show-in-full-screen-app-init r))
                                                }
                                               {:text "Редактировать" :btn-type :primary
                                                :act-fn
                                                (fn []
                                                  (put! chan-thumbnails-modal-edit-form-open-for-id id)
                                                  (modal-show (:modal app)))}
                                               {:text "Удалить" :btn-type :danger
                                                :act-fn
                                                #(do
                                                   (om/update! app [:modal-yes-no :row] r)
                                                   (modal-show (:modal-yes-no app)))}]
                                              }))}}))
                 (:list app)))

