- function displayFeatureWarning(count, limit, callback) {
- clearStatus();
-
- $('#browse_status').append(
- $("<p class='warning'></p>")
- .text(I18n.t("browse.start_rjs.loaded_an_area_with_num_features", { num_features: count, max_features: limit }))
+ function displayFeatureWarning(count, limit, add, cancel) {
+ $("#browse_status").html(
+ $("<div>")
+ .append(
+ $("<h2>")
+ .text(I18n.t("browse.start_rjs.load_data"))
+ .prepend($("<span class='icon close'></span>").click(cancel)))