fix announcement & links
This commit is contained in:
1 parent
a755eb184b
commit
42519d9f78
40 files changed
+446
-268
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();
|
||||
});
|
||||
@@ -11,5 +11,6 @@ $('.bulletin_files_block a.remove_existing_record').live('click', function(){
|
||||
$('.action a.remove_existing_record').live('click', function(){
|
||||
$(this).next('.should_destroy').attr('value', 1);
|
||||
//$("#bulletin_" + $(this).prev().attr('value')).hide();
|
||||
$("tr#bulletin_" + $(this).prev().attr('value')).hide();
|
||||
$("tr#bulletin_file_" + $(this).prev().attr('value')).hide();
|
||||
$("tr#bulletin_link_" + $(this).prev().attr('value')).hide();
|
||||
});
|
||||
Reference in new issue
Block a user