Study of the reaction e^{+}e^{-}→J/ψπ^{+}π^{-} via initial-state radiation at BABAR