fix announcement & links
This commit is contained in:
1 parent
74636fb16d
commit
a30bc499c7
40 files changed
+446
-267
No files matched your search
Vendored
+3
-4
@@ -68,8 +68,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* ========================================================= */
|
||||
|
||||
|
||||
|
||||
!function( $ ){
|
||||
|
||||
"use strict"
|
||||
@@ -130,6 +129,7 @@
|
||||
|
||||
var that = this
|
||||
this.isShown = false
|
||||
//alert(this.isShown+":"+this.$element.attr('class'))
|
||||
|
||||
$('body').removeClass('modal-open')
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
this.$element
|
||||
.trigger('hide')
|
||||
.removeClass('in')
|
||||
|
||||
|
||||
$.support.transition && this.$element.hasClass('fade') ?
|
||||
hideWithTransition.call(this) :
|
||||
hideModal.call(this)
|
||||
@@ -146,7 +146,6 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* MODAL PRIVATE METHODS
|
||||
* ===================== */
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
$('.bulletin_links_block a.remove_existing_record').live('click', function(){
|
||||
$('.bulletin_links_block a.delete').live('click', function(){
|
||||
//$(this).parents('.list_item').remove();
|
||||
$(this).parents('tr.list_item').remove();
|
||||
});
|
||||
|
||||
$('.bulletin_files_block a.remove_existing_record').live('click', function(){
|
||||
$('.bulletin_files_block a.delete').live('click', function(){
|
||||
//$(this).parents('.list_item').remove();
|
||||
$(this).parents('tr.list_item').remove();
|
||||
});
|
||||
@@ -17,4 +17,6 @@ $('.action a.remove_existing_record').live('click', function(){
|
||||
$('.quick_edit_cancel').live('click', function(){
|
||||
tr = $(this).attr('rel');
|
||||
$('#' + tr).hide();
|
||||
$("tr#bulletin_file_" + $(this).prev().attr('value')).hide();
|
||||
$("tr#bulletin_link_" + $(this).prev().attr('value')).hide();
|
||||
});
|
||||
Reference in new issue
Block a user