Sha256: 6802a91383472728447df839b6078cc0e40bfea12c3ee2fcc0dcbdce2cac99be
Contents?: true
Size: 515 Bytes
Versions: 43
Compression:
Stored size: 515 Bytes
Contents
Locomotive.Views.ThemeAssets ||= {} class Locomotive.Views.ThemeAssets.EditView extends Locomotive.Views.ThemeAssets.FormView save: (event) -> @save_in_ajax event, on_success: (response, xhr) => window.response = response window.xhr = xhr help = @$('.inner > p.help') help.find('b').html(response.dimensions) help.find('a').html(response.url).attr('href', response.url) window.editor = @editor if response.plain_text? @editor.setValue response.plain_text
Version data entries
43 entries across 43 versions & 2 rubygems