contour 1.2.0.pre5 → 1.2.0.pre6
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@
|
|
7
7
|
element.html('<img width=\"13\" height=\"13\" src=\"' + root_url + 'assets/contour/ajax-loader.gif\" align=\"absmiddle\" alt=\"...\" />' + text)
|
8
8
|
|
9
9
|
@flashMessage = (message, alert_type = 'success', overwrite = true) ->
|
10
|
-
div_block = "<div class='alert alert-#{alert_type}'><button type='button' class='close' data-dismiss='alert'>×</button>#{message}</div>"
|
10
|
+
div_block = "<div class='navbar-alert alert alert-#{alert_type}'><button type='button' class='close' data-dismiss='alert'>×</button>#{message}</div>"
|
11
11
|
flash_container = $('[data-object~="flash-container"]')
|
12
12
|
if overwrite
|
13
13
|
flash_container.html(div_block)
|
data/lib/contour/version.rb
CHANGED