Skip to content

Commit 5bbaba3

Browse files
committed
Merge branch 'release/3.1.3'
2 parents 16ab356 + 41f949f commit 5bbaba3

27 files changed

+1886
-252
lines changed

assets/css/wpl.edit-lead.css

+22-1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,27 @@ float: right;
104104
#lead-searches .lead-timeline {
105105
margin-left: 10px !important;
106106
}
107+
108+
#lead-searches #search-error-count{
109+
width: 92%;
110+
margin-left: 10px;
111+
}
112+
113+
#lead-searches .search-error-icon{
114+
font-size: 54px;
115+
position: absolute;
116+
left: 30px;
117+
margin-top: 10px;
118+
}
119+
120+
#lead-searches .search-error-message{
121+
padding: 26px 10px 26px 10px;
122+
border: 1px solid #e5e5e5;
123+
border-radius: 5px;
124+
background: #fff;
125+
margin-top: 3px;
126+
margin-left: 83px;
127+
}
107128
#conversions-data-display .nav-container {
108129
margin-top: 5px;
109130
}
@@ -222,4 +243,4 @@ body .metabox-holder .postbox-container .empty-container {
222243

223244
#full-contact-icon {
224245
vertical-align:middle;
225-
}
246+
}

assets/js/wpl.admin.edit.js

+12
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ jQuery(document).ready(function ($) {
259259
the_list.tsort({attr: 'data-date', order: 'desc'});
260260
jQuery('.lead-sort-active').removeClass('lead-sort-active');
261261
jQuery(this).addClass('lead-sort-active');
262+
if(which_sort == '#lead-searches'){
263+
var errorCount = jQuery('#search-error-count').detach();
264+
jQuery('#lead-searches').append(errorCount);
265+
}
262266
});
263267

264268
jQuery('#oldest-event').click(function () {
@@ -267,6 +271,10 @@ jQuery(document).ready(function ($) {
267271
the_list.tsort({attr: 'data-date', order: 'asc'});
268272
jQuery('.lead-sort-active').removeClass('lead-sort-active');
269273
jQuery(this).addClass('lead-sort-active');
274+
if(which_sort == '#lead-searches'){
275+
var errorCount = jQuery('#search-error-count').detach();
276+
jQuery('#lead-searches').append(errorCount);
277+
}
270278
});
271279

272280
jQuery('#highest').click(function () {
@@ -290,6 +298,10 @@ jQuery(document).ready(function ($) {
290298
the_list.tsort({attr: 'data-date', order: 'desc'});
291299
jQuery(toggle_this).fadeIn(700);
292300
jQuery(".lead-item-num").show();
301+
if(which_sort == '#lead-searches'){
302+
var errorCount = jQuery('#search-error-count').detach();
303+
jQuery('#lead-searches').append(errorCount);
304+
}
293305
});
294306

295307
jQuery("body").on('click', '.lead-activity-show-all', function () {

classes/class.metaboxes.wp-lead.php

+221-41
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)